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

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: 16456
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: 10032
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: 5237
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: 14880
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: 8328
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.