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
Recent blog posts

Posted by on in SharePoint

To fix “Workflow failed on start (retrying)” error we did the following:

1. From the local machine/development machine, the Visual Studio solution property for “Assembly Deployment Target” is set as “GlobalAssemblyCache” shown below:

b2ap3_thumbnail_GAC.jpg

2. Double click the package file in the solution

3. Click "Advanced" tab near the bottom of the page

4. Click "Add" >> "Add Existing Assembly" from "Add" button near top of screen

5. Click ellipses button next to Source Path

6. Navigate to where you project's bin\Debug folder is located

7. Select the .dll file which holds the name of your project

8. From the "Add Existing Assembly" modal window, select "WebApplication" option

9. Click "Ok" and "Deploy"

10. Navigate to the bin/Debug folder for the Visual Studio project, and the .wsp file is what needs to be pushed to the SharePoint Server

Hits: 13740
0

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: 8964
0

Posted by on in Reporting
Line chart series to start at 0

I have a line chart series that is for accounting.  A sample query would pull back 12 rows (1 row for each month, Jan - December), and the columns would show the dollar amounts for separate buckets of money allocations.  What I'm trying to do is have the series chart line start @ 0 (we're trying to mimic another chart that does the same thing).

Hits: 4711
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: 13074
0

Posted by on in Facebook
Pin a Facebook post to the top of my page

Facebook offers a feature called "pinning a post" on Timeline. This means that you are able to attach any post to the top of your page, positioning it so that visitors will see it right away. If you have a post promoting your latest social campaign, you definitely want to sponsor it by pinning it to the top! Here's how:

1. Log into your Facebook account.
2. Hover your mouse over the right corner of the post that you want to use. A downward arrow appears.
3. Click on the arrow button.
4. Select "Pin to top" from the dropdown menu. Your post moves to the top of your Timeline. A yellow ribbon will also appear, to remind you that it's pinned.

*** Note: You can always remove the pin - just click the downward arrow and select "Unpin from Top."

Tagged in: Facebook
Hits: 7503
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: 5174
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: 7175
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: 12408
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: 8874
0

For a Records Library Versioning Settings, we had the "Create major versions" turned on, but the versioning was still adding an underscore and random characters to the end of the file name.

To fix this issue, we had to go back into the Content Organizer feature and make sure "Use SharePoint Versioning" was set in the "Duplicate Submissions" area.

1. Go to Site Settings / Content Organizer: Settings

2. Go down to the "Duplicate Submissions" area

3. Check "Use SharePoint versioning"

If you don't see the changes >> i.e. the versioning take affect and only show a single file name, and version history is only seen via the edit sub-menu, make sure the Central Admin Content Organizer Processing timer is set to what you need via:

Central Administration --> Monitoring --> Review job definitions --> Content Organizer Processing

Hits: 82342
0

Posted by on in SharePoint

Calculate age of SharePoint list itemEver wonder how you can calculate the age of the list items in SharePoint? The Today() function is not allowed in calculated fields, so what's the trick?

Hits: 56647
0

To find the value in an InfoPath form, we had to take a different approach than when using the DispForm.aspx page.

As usual, we loaded the .js file in the SharePoint site via a document library, and used either Firefox or Chrome to find the id of the textbox or element that stored the value we wanted to put into localStorage.

Hits: 10804
0

1. First create the data source in your Datasets folder.

In my case, my dataset is called dsStatusDDL because I'm pulling a status field from a SharePoint list.First create the data source in your Datasets folder.

Hits: 67134
0

Posted by on in Reporting

I had a customer request to hide a row conditionally, but when the report rendered in the browser the hidden row still took up spacing on the report.

I found this post thanks to Frank v.d. Laar:

http://www.sqldev.org/sql-server-reporting-services/hidden-rows-still-displayed-9660.shtml

Try to set the Hidden property of the Static Row Group under the Details Group, in this case the whole row will disappear instead of the content of the textboxes.

If you are using Report Builder, you need to switch to Advanced Mode (make sure that the Properties and the Grouping windows are displayed, go to the upper right side of the Grouping window and press the black triangle), click on the second "Static" item under the "(Details)" group and you can set the Hidden property on the Properties window.

Hits: 35211
0

Posted by on in Reporting

I had a requirement to add some spacing after a prefix of a textbox to align with a row below it and make the report more visually appealing. I tried the space() function within my expression, and that didn't work.

Here's what I did to resolve our scenario:

1. Left Double click the textbox that will hold this value/expression
2. Right click the textbox area and select "Create Placeholder" from the flyout menu option
3. In the "Placeholder Properties" pop-up modal, make sure to select
"HTML - Interpret HTML tags as styles" when in the "General" section

4. When creating the expression, I used the following for my padding:
=iif(Fields!datatype.Value="Issues", "Issue:"
& " " , "") & Fields!comment.Value

In my scenario, if the type was "Issues", then I needed to put:
a prefix of "Issue:" + spacing + my comment field

Thanks!

Hits: 52820
0

I had a request to create an autonumbering column in SharePoint 2010 for document numbering, and here is how we got the solution to work. I will use elementary school documents as an example.

The user could select one of up to 15 different school subjects when requesting a new document number, and the autonumber should stay in sync with the school subject...so there is no loss in the next available number for that particular school subject.

This is why I can't simply use the ID column that's associated with every list and append that to the eventual variable in a workflow.

Hits: 65223
0

Get Help Today

Send an email here!

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

Web Hosting

Web Hosting here!

25% Coupon Code:

couponSolWeb25OFF

Get Sol News

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