For our on-Premise SharePoint 2013 site, we needed to be able to prevent users from viewing other people’s submitted leave requests forms.  In addition, we needed to prevent users from modifying their own forms after submission.  The final requirement that we had was that the forms were not to be moved to a different library

Read More
Changing Views Available to End Users on Forms Library in SharePoint 2013

Almost a year ago I wrote on “SharePoint artifacts provision, part 1 – Xml definitions vs Code based provision“, putting together pros and cons of both way to get SharePoint artifact deployed. Time goes by, and I am excited to share SPMeta2 library – a fluent API for code-based SharePoint artifact provisioning. So, Forget XML/WSP. Unleash power of SSOM/CSOM

Read More
SharePoint artifacts provision, part 2 – Meet SPMeta2 library

A sample JS to modify the list choice field options. var context = new SP.ClientContext.get_current(); var web = context.get_web(); var cldList = web.get_lists().getByTitle(“Calendar”); var categoryField = cldList.get_fields().getByInternalNameOrTitle(“Category”); var categoryChoiceField = context.castTo(categoryField, SP.FieldChoice); context.load(categoryChoiceField); context.executeQueryAsync(function () { var categoryChoices = categoryChoiceField.get_choices(); var categoryTC = categoryChoices.filter(function (choice) { return choice === “MyEvents”; }); if (categoryTC.length == 0)

Read More
How to moodify the List Choice Field options in SharePoint using the Javascript Client Object model

We find lots of question regarding Multi file upload coming grayed out in SharePoint. After surfing through net, I found the working solution When opening SharePoint document library, you would be asked to run Microsoft Office 2010 component by Internet Explorer automatically. Means the issue belongs to MS Office not with SharePoint Directly. After going through above link  I found that there is an ActiveX

Read More
Enable Uploading Multiple Documents Functionality

Scenario: I had a business requirement to track user activities inside a SharePoint site and guess what? SharePoint has functionality to track who is doing what in the whole site collection. For example: User A is editing documents, User B is downloading some documents and User C is just viewing the content without touching them.

Read More
How to track when a user opens a document in SharePoint by using the OOTB Audit Log

Yesterday we had an issue reported by a few users that the InfoPath form library would just not open on a few desktops only, for the sake of information all other users and the effected ones were using IE 8 and InfoPath 2010. There was no difference in the environments. What would happen is if

Read More
InfoPath 2010 gives “A problem caused the program to stop working correctly. Please close the program. “