February 26, 2010

Sharepoint Scope Rule for Folder or Particlular List

First Grasp the URL in Content Source where you ran the Crawl.

From Central Admin:

1. Create the Scope and add folder rule.
2. In folder rule..The URL should be
CrawlURL/Documents/FolderName.
Instead of CrawlURL/Documents/AllItems.apsx
3. For List CrawlURL/Lists/ListName
4. You can see item count, but total will be reflected upon updating the scope.
5. Start Update now [No Need to Re-Crawl]
6. The Total will be now same as Item Count.
7. If wanted, In Search core Results..set this scope for limiting results and thats all.

From Site Level
1. Create the Scope and add folder rule.
2. In folder rule..The URL should be
CrawlURL/Documents/FolderName.
Instead of CrawlURL/Documents/AllItems.apsx
3. For List CrawlURL/Lists/ListName
4. You will see item count = 0, Total=0
5. Start Update now [No Need to Re-Crawl]
6. Still Item Count = 0, Total =0 but in Central Admin, You will see Item count = Count and Total = error
7. If wanted, In Search core Results..set this scope for limiting results and thats all.

Note: If searh results are not coming up correctly, Stop Start the Application Pool of Both Application and SSP

Sharepoint Designer Workflow LookUp Not Showing all the fields

When First Creating the Column, make it a single valued , not multiple values. It will show up in the Workflow Lokup. Deploy the Workflow to the list with Desired Logic. Then Change the Column to Multiple Values if needed and Test The Workflow.

February 22, 2010

Hide Site Actions for Normal Users

<SharePoint:SPSecurityTrimmedControl ID = "spstcSiteActions" runat = "server" PermissionsString = "ManageWeb" >
<span class="siteActionMenu">
<PublishingSiteAction:SiteActionMenu runat="server"/>
</span>
</SharePoint:SPSecurityTrimmedControl>

February 11, 2010

Open A Document in new Window from Document Library

If you want only documents in one document library to open to new windows, you can edit the document library in SharePoint Designer.

1. Open the site in SharePoint Designer and then open the document library allitems.aspx.

2. Right-click the document library web part and select “Convert to XSLT data view”.

3. Search for "Onlink" and you will see this tag “<xsl:otherwise ><A onfocus="OnLink(this)" HREF="{@FileRef}"….. </xsl:otherwise>”, .....add “target="_blank"” in <A> tag.

After this, the documents will be opened in a new window.

SonarQube with Jenkins Setup using Docker Images

https://funnelgarden.com/sonarqube-jenkins-docker/  https://medium.com/@hakdogan/an-end-to-end-tutorial-to-continuous-integration-and-con...