Showing posts with label SharePoint Designer. Show all posts
Showing posts with label SharePoint Designer. Show all posts

Monday, April 1, 2013

SharePoint Designer: Error while Compiling

I tried to create workflow in SharePoint Designer:

The Error occurrs only, if the workflow contains a workflow lookup and i want to compile it.
In this case the following error-code appears:
Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:
Cannot set unknown member 'LookupSPListItemStringProperty.ItemId'. HTTP headers received from the server - ActivityId: 9aefe91b-ad3d-4942-a9d6-62b23573db09. NodeId: WFFE_IN_1. Scope: /spo/2066dfc3-753d-448e-8402-3a0b9b06492d/42fbc970-d795-4c3e-b511-3d6368d46642/8a0077c0-0b4b-45e4-bde5-07ece5ae2c20. Client ActivityId : 2114fc9b-50c5-c037-e339-58dfee5e3821. ---> System.Net.WebExcepti

It took long time from me to solve. I decided to Re-register service into my side using command:

Register-SPWorkflowService -SPSite 'https://myhost/mysite' -WorkflowHostUri 'https://workflowhost' -AllowOAuthHttp -Force

I reopened SharePoint Designer again and problem disappeared.

Thursday, February 28, 2013

SharePoint Designer 2013 will not support Design View

Design View removed SharePoint Designer 2013. they say the reason new web standards for client side rendering of pages such as JavaScript, JSON, and OData, there is no longer a need to support a visual web page editor within SharePoint Designer.

Sunday, February 24, 2013

SharePoint 2013 Customize master-page


To Customize sharepoint master-page:
  1. Open SharePoint 2013 in SharePoint Designer 2013
  2. Find corresponds html to your master page 
  3. Edit in advanced mode
  4. Add html before end of workspace div:
    <div class="s4-notdlg" id="Footer" style="background: black; color: white;"> © CopyRight 2013</div> </div> 
  5. Check the result

Sunday, January 29, 2012

Sharepoint Designer “checked out” problem

Sometimes in Sharepoint Designer showing “checked out” even though they were not!

To solve this problem, You need to clear a local web cache. This Works in SharePoint Designer 2007 and SharePoint Designer 2010.

Areas to clear:
  • %APPDATA%\Microsoft\Web Server Extensions\Cache
  • %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache\
In WInXP
  • %USERPROFILE%\Local Settings\Application Data\Microsoft\WebsiteCache

SharePoint Designer 2010 Workflow does not Start Automatically, when an item is created or modified

I Create a new "List Workflow" through Sharepoint Designer 2010 and set the workflow setting with Start workflow automatically when an item is create or modified.




Then save and publish the workflow. Now goto the list and create or edit the items, the attached workflow not invoke.

I found my problem . I need to login into another non system account user.


Saturday, January 28, 2012

How to Remove {generate-id()} from a Customized Form in SharePoint

If you wrote xslt in SharePoint Designer html tag with id it automatically adds {generate-id()}

example


when it saved in SharePoint designer it will be:


There is many articles take about solution for this:
http://sympmarc.com/2007/10/12/how-to-remove-generate-id-from-a-customized-form-in-sharepoint/

But I see it is very useful to make id of any element unique prevent conflict of elements between different webparts.