Browsed by
Category: SharePoint

SharePoint: Updating file/folder metadata with a # in the name

SharePoint: Updating file/folder metadata with a # in the name

For the longest time this wasn’t an issue. There were just certain characters that weren’t allowed as file or folder names in the Windows world (%&#/\ and so on). Not too long ago, Microsoft decided it’s ok to accept files and folders in SharePoint with either the % or the # in the file or folder name. Great for end users who enjoy that sort of thing…awful for us developers. For example, in the past I’m sure you did something…

Read More Read More

SharePoint and the Future of InfoPath

SharePoint and the Future of InfoPath

For those who don’t already know, InfoPath’s days are numbered. Microsoft has discontinued releasing InfoPath as part of the Office suite of applications, but will be supported as part of their typical lifecycle cadence of 10 years. I know many business users of SharePoint who have used InfoPath either to create custom List Forms or custom forms for a Form Library, and I am regularly asked “will InfoPath be supported in SharePoint 2016?”. My response is usually “Yes, it will…

Read More Read More

Show modal dialog form from another site collection

Show modal dialog form from another site collection

Ever get an error message saying “Refused to display ‘url’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN‘.” when trying to load a list form from another site collection in a modal dialog?  Add this to a line right after the last <% Register tag on the masterpage: <WebPartPages:AllowFraming runat=”server” />

Populate a SharePoint 2013 PeoplePicker field using JavaScript/jQuery

Populate a SharePoint 2013 PeoplePicker field using JavaScript/jQuery

Here is a quick and fairly simple way to programmatically populate a SharePoint 2013 People Picker field with a user based on their email address. This example assumes you have more than one People Picker field on the page. You will need: The display name of the People Picker Field The email address of the user you want to add to the People Picker Field Add the following code to either a Script Editor Web Part (inside <script> tags) or…

Read More Read More