Tag Info

Hot answers tagged

6

We've found it's much easier to just add a webconfig.something.xml file to the Config folder. So for your one entry you can create an xml file with these contents: <?xml version="1.0" encoding="utf-8" ?> <actions> <remove ...


6

I believe when you said this was possible in SharePoint 2010, you were referring to this link: http://msdn.microsoft.com/en-us/library/ff798499.aspx I have got this working with SharePoint 2013 too. Here is the sample project: https://dl.dropboxusercontent.com/u/21118137/SPWork.zip I have tested this in Office365 too and it works. There is one caveat ...


5

I've implemented this method in the past, so I just share my code with you: add: private void AddAuthorizedType(SPWebApplication webApplication, string assembly, string namespace_) { SPSecurity.RunWithElevatedPrivileges(delegate { var modification = new SPWebConfigModification(); modification.Path = ...


5

Finally, I was able to address this requirement as follows: Create a Custom Activity which takes a SharePoint group as an input parameter and outputs a set of email addresses of people added directly in the group. At the core of the activity I used following method which gives me list of email addresses for people belonging to the group strOutput = ...


4

I guess I will answer my own question. The solution was to create a ActivityName.actions file in TEMPLATE\1033\Workflow folder. ActivityName.actions <?xml version="1.0" encoding="utf-8" ?> <WorkflowInfo> <Actions> <Action Name="My custom activity" ClassName="SharePoint.ActivityName" Assembly="SharePoint, Version=1.0.0.0, ...


4

Our issue was the missing feature.xml for the PowerView feature: 14\Template\Features\PowerView\feature.xml on our WFE. Rather than using Fiddler which didn't seem to help, we discovered the error in our ULS logs (see below). Working on this missing feature, we then activated the feature on the Root Site collection, but this didn't solve the problem. I ...


3

Ours didn't send an email to a SharePoint Group until we: Set the "Who can view the membership of the group?" to Everyone Give Read permissions to the group for the site We then tested with a very simple workflow with SPD and it worked. We got some hints from here. If your email is still not sending after that, then you may need to see: Verify it's a ...


3

The problem here was actually a custom branding solution. I was helped by Microsoft Support on this issue, and we discovered that the branding solution had been applied twice. Once as a Farm-level solution and once as a Site Collection-level solution. There must have been something wrong with the Farm solution because when we removed that one the problems ...


3

The most common issues are: Make sure the authorizedType entry is in your web.config (for testing you can manually add it or add it using code) If this is a new iteration of an existing DLL, you may have to clear your cache on the machine where you are using SharePoint designer. Make sure your .actions file is correct. You might also want to check out ...


3

I haven't tried this method, but I think it should work. If you use the Lists web service to query for the particular item, you should be able to retrieve the workflow status column and see it's value. It should give you In Progress/Complete. In your code, you'd just need to check that status and wait/recheck in a few seconds or redirect to your page based ...


3

This may just be a work around, and not a real solution, but if you set those old workflows to fire when an item is changed, you can add a new column ('Fire Workflow' with a yes or no drop down) and then go into the datasheet view and set them all to Yes. That should force designer to see that every entry changed. Once the workflows have completed, you can ...


2

Unfortunatley you cannot debug SharePoint Designer created workflows easily (unless you actually debug the SharePoint codebase). I suggest you add some logging features to the Workflow, examine the ULS logs, check that your workflow history is cleaned up properly etc. (If you updated your post with the Visio diagram of your Workflow it could possibly help ...


2

To link back to your item, you can do something like "<a href=\"" + li.Web.Url + "/" + li.ParentList.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url + "?ID=" + li.ID.ToString() + "\">Link to Page</a>" Where li is the SPListItem. HTH!


2

You would need to look at VS Studio workflows as your option here. You are correct that the OOTB workflows are limited and won't fit your requirements. You could look at SharePoint Designer to offer a lot more actions etc. The problem here is that you won't get the State Machine workflow you are looking for. If you ha the budget the Nintex workflow product ...


2

You would be correct, support is blowing smoke at you. This isn't the first time I have heard people complain that Sandbox solutions that run on-premise get this exception when running on Office 365. I have deployed and run Sandboxed workflow actions on Office 365, and they have run just fine, however that may simply be that the servers my account run on ...


2

I have two recommendations: Professional Workflow in SharePoint 2010: Real World Business Workflow Solutions (Wrox Programmer to Programmer) http://www.amazon.com/Professional-Workflow-SharePoint-2010-Programmer/dp/0470617888/ref=sr_1_1?ie=UTF8&qid=1331150309&sr=8-1 SharePoint 2010 Workflows in Action ...


2

I've encountered the same issue and I had the SP1 for SharePoint Designer2010 already installed. SP D2010 Version : 14.0.6123.5001 (32-bit) with SP1 The issue : I am using SP2010 with infopath 2010. i've designed a custom approval which contains one approval process. this workflow prompts users to fill in reviewer, CC and comments on the workflow ...


2

I do not believe there is a "standard" solution for this. But, it also depends on your definition of "standard." The only non-code way to do something like this that I know of is to use a complex set of Sharepoint Designer workflows to create a loop that will go through and initiate the workflow on all Items. See the reference for loops in SPD here. A ...


2

You can write your Custom activity to write your custom code. You can follow following link to write your custom code activity. http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/08/28/how-to-develop-a-workflow-code-activity-in-sharepoint-2013.aspx Other approach would be write a WCF service to update the data in your service and call that ...


1

With the OOTB workflows these are actually Task Forms, and you need to configure the Workflow to send them in Parallel and you can use the "CLAIM TASK" functionality to mark that you are the respondent. In addition (a little variation) you can specify to end workflow on 1st approval/rejection. If you created your own workflow use same guidelines to set ...


1

Don't confuse the version number shown when you go to the GAC with the file version. The version number shown is the AssemblyVersion which is used when clients specify which version they want to load. The file version specified in the kb article is the version of this dll implementing a certain assembly version. To see the file version of an assembly in the ...


1

Try to use SPWorkflowEventReceiver. If I'm not wrong the WorkflowPostponed is invoked when the exception is thrown. In this method you have access to the SPWorkflowEventProperties. There are ErrorException and ErrorMessage properties that can be used by you.


1

You have to create a List with a List Schema (Template) where you can specify which Forms are to be used. http://msdn.microsoft.com/en-us/library/aa543477.aspx Refer to Forms Element. You can do it manually using Sharepoint Manager 2010 or similar tool. Hope it helps! Best Regards


1

Here's a link to a blog entry I wrote on writing SPD custom workflow actions for 2007 http://blog.ianchivers.com/2011/02/office-sharepoint-designer-2007-custom.html. It might help you identify where your missing something from your live server. Pay particular attention to the .actions file and the web config. Also check out if the assembly was added to ...


1

The problem is with your DesignerType attributes in your ACTIONS files. Since you want to set these to variables you should switch these lines: <FieldBind Field="DocumentLibraryLink" Text="Link to the document library" Id="3" DesignerType="TextArea"/> <FieldBind Field="DocumentLibraryResultName" Text="Result name of to the document library" Id="4" ...


1

I solved this issue in other way. When the task is created I setup an unique permission for this task like this: HybridDictionary permsCollection = new HybridDictionary(); permsCollection.Add(taskProperties.AssignedTo, SPRoleType.Contributor); createTask.SpecialPermissions = permsCollection;


1

You won't be able to. Workflows run on the timer service, independent of the current user, or httpcontext. Some workarounds are to 1) assign a task to the user at completion 2) send email to user from workflow at completion 3) create a view of completed workflows. Any of these will allow the user to access said page after the workflow is complete, but it'll ...


1

I tried to find a solution for this by first checking if I could have two Action element for same class and assembly but with different sentences like "find a document with id equal to %1 in list with guid equal to %2" and "find a document with path equal to %1 in list with guid equal to %2"... BUT this does not work because for a given class and assembly, ...


1

I would check to verify the feature is enabled at whichever scope it is set (Farm, WebApplication, Site, or Web).


1

To save you from searching around, I'll elaborate on how to do logging effectively. I use this method, found under Action->Core Actions->Log to History List in Workflow Designer. I put these logs after every branch and step, and from there I write all the relevant fields to the log using the lookups. Then you just navigate to the workflow history at ...



Only top voted, non community-wiki answers of a minimum length are eligible