Sol Web Solutions Blog

Sol Web Solutions Blog is aimed to help, inform, educate and enable our site visitors.

  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Login
    Login Login form
Subscribe to this list via RSS Blog posts tagged in SharePoint Designer

In case you need to remove the SharePoint Library ribbon option of "Upload Document" to a library:

b2ap3_thumbnail_upload_document_link_ribbon.gif

...and have the following scenario presented to the user:

b2ap3_thumbnail_no_option_upload_ribbon.jpg

  1. Open the library in SharePoint designer
  2. Open the "All Documents" view (in our case)
  3. Find the ending tag for <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
  4. Just before </asp:Content> insert the following CSS as shown below:

</ZoneTemplate></WebPartPages:WebPartZone>

<style type="text/css">
/*
hide the New Document, Upload Document, New Folder on left side of ribbon, have to use the back slashes to escape the dots in the element ID
*/
#Ribbon\.Documents\.New {display:none;}
</style>

</asp:Content>

Hits: 31441
0

Some custom jQuery to autopopulate a text field via localStorage was used in a Content Editor on our NewForm.aspx page for a SharePoint 2010 list:

<script src="/.../jquery.js" type="text/j-avascript"></script>

<script type="text/j-avascript">
window.on-load = function(){
                window.setTimeout(readyCall, 1000);
}
function readyCall(){
     var piddata = localStorage.getItem('myPID');
$("#ctl00_m...TextField").focus();
$("#ctl00_m..._TextField").val(piddata);
}</script>

It's working as expected and auto-populating our field, but the top ribbon (especially the Attach File) in the ribbon was disabled.

The ribbon was finally enabled by using:

<script type="text/j-avascript">
$(document).ready(function()
{
   var e = $("input[id$='ctl00_m_g_..._TextField']");
   var piddata = localStorage.getItem('myPID');   
   e.val(piddata);   
});
</script>

Hits: 25888
0

When submitting a document to a Records Center with the "Send Document to Repository" workflow action, there is a parameter called "this destination router".

Click the "this destination router" link and enter the full URL to your SharePoint Records Center, including the suffix of _vti_bin/officialfile.asmx.

Hits: 17169
0

If you are editing the Collect Signature workflow in SharePoint Designer 2010, and don't see the following action available:

Send Document to Repository

...it could be b/c that workflow is a globally reusable workflow and not specific to a library or content type...which is what the action "Send Document To Repository" needs.

Try these steps:

  1. Go to the root SharePoint site and create a content type
  2. Go to your target library where you need to do this "Send Document to Repository" action, and associate the content type created in step #1
  3. Go to the root SharePoint site
  4. Open SharePoint Designer
  5. "Copy/Modify" the Collect Signatures SharePoint 2010 Workflow
  6. On "Create Reusable Workflow" pop-up / modal window select the bottom dropdown list "Content Type" you created in step #1
  7. Now when the new workflow is open, type "Send" to filter back 3 options for your workflow "Actions"
  8. You should see "Send Document To Repository" option now available
Hits: 16306
0

Posted by on in SharePoint

If you are getting the following error when trying to save a workflow as a template in SharePoint Designer, as I was trying to do with a collect signature workflow:

'the server was unable to create your template'

...try taking out some characters for the new name of the workflow.  That worked in my scenario.

Special thanks to author here for pointing me in the right direction:

http://www.oriolardevol.com/Article/Details/30

 

Hits: 39853
0

You may get an error of "The server could not complete your request" when trying to copy and modify a Collect Signatures Workflow in SharePoint 2010.

Instead of doing this from a sub-site, go to the root site and try the same thing in SharePoint designer.

That fixed my issue.

Hits: 22734
0

Help Today

Send an email here!

Sol Web Solutions will be glad to help you anytime with general or technical questions, suggestions or comments.

Website Hosting

Web Hosting

Sol News

We will not share, trade, or sell any of your information in any way. Your privacy is completely respected.