I encounter problems trying to deploy custom workflows designed in SharePoint Designer 2013 on a SharePoint 2013 host. The steps I've taken are:
On SiteCollection1, create reusable list workflow in SharePoint Designer 2013, one activity: log a message to the history list.
Save the workflow and save it as a template
Upload the *.wsp template in the solutions gallery on SiteCollection2 and activate the feature
Result: then trying to add manually the workflow to a document library or a list, my template is not in the list of available templates. What am I missing?
Note: SharePoint 2013 installed on-premises, WF Manager is deployed and registered for both site collections. The workflow itself is a SharePoint 2013 workflow.
Solved after discovering that the master page file was referencing SP.Runtime.js and SP.Workflowservices.js ; I removed those references and everything works as expected
Related
Since the end of 2018, we have the possibility of publishing extensions to the VS marketplace through the command-line.
There's a pretty neat guide on how to do that here.
How you specify a category for your extension is through the publishManifest.json file. You can see the JSON schema for it here.
The problem is that, as you can see in the schema, you can only provide subcategories for the Tools category of the Marketplace.
Whatever extension you publish, the marketplace will put it under Tools. If you try to enter subcategories for other extension types such as ASP.NET or AJAX you'll get an error during publishing.
The question is - is it possible to publish a VS template through the CLI with a proper category as of today?
My goal is to create a custom NewForm and EditForm for an existing SharePoint list in the app web of a sharepoint-hosted app for SharePoint 2013 online using Visual Studio 2013. In addition to a custom layout, the forms should also use custom JavaScript.
I have read and worked through several tutorials like
http://community.bamboosolutions.com/blogs/sharepoint-2010/archive/2011/05/12/sharepoint-2010-cookbook-how-to-create-a-customized-list-edit-form-for-development-in-visual-studio-2010.aspx
This tutorial requires to open the list in SharePoint Designer. My question now: How can I open and edit lists of the app web in SharePoint Designer (I am working with SharePoint Designer 2013)? Is it even possible? Or is there another possibility to create a custom NewForm and EditForm for a list in the app web of a sharepoint-hosted app for SharePoint 2013 online using Visual Studio 2013?
Short answer, you dont.
What you need insted is to look into Client Side Rendering, and manipulate your newform by JavaScript insted.
This is an older question, so if it is still relevant, and if you need help moving forward let me know, and i will be happy to elaborate.
I've been doing some research on how to implement a workflow in SharePoint Online and I found two interesting examples:
First
Second
They were useful, but there is a big problem with these. They are apps, so the workflow cannot be used outside the app (ex. lists, libraries) is there any way to make this (using Visual Studio, Power shell, SP Designer, etc.)? I am new in SharePoint, can anybody help me?
You kan add
true
to the WorkflowManifest in order to publish the workflow om the hostweb. But not that the tasks og history for the workfow is still tracked on the appweb.
You can see example here...
http://www.vrdmn.com/2014/09/integrated-workflow-apps-deploy.html
If you need the tasks and history on the hostweb you can create a sandbox solution with the workflow and publish the wsp-apckage on the site.
If you are not a programmer you're probably better of with SharePoint Designer 2013. You can download that for free. Just make a quick search for SharePoint Designer 2013 Workflow. There are plenty of examples for this.
We have created SharePoint 2013 Auto hosted app. In that, we have created near about 50 lists from the solution in visual studio. but when i deploy it, it gives following error:
"there was a problem with activating the app web definition."
What is the reason? any limit for creating lists in Auto hosted app?
Please suggest me...
I'm trying to modify and set alert templates on a SP (working on a copy of alerttemplates.xml), but I'd like to deploy them just on some specific sites, not the whole farm. Is this possible? I'm using SharePoint 2010 RTM.
Thanks
Changes take effect at the site collection level (aka top level site) and include all subsites in them
stsadm -o updatealerttempaltes
If you want more granular control you would have to look into IAlertNotifier, workflow or various 3rd party apps.
SO - Customise SharePoint Alerts