SharePoint Ribbon custom button "enablescript"
Hi,I want to set permission for all selected items in library.I 've added custom button to ribbon.My custom button{ find all selected items and redirect to "mypage.aspx?ids=12,25,45" } .In them...
View Articlefailed to make Provider Hosted app work
Hi everybody,I am using VS 2013 and created a simple Provider-Hosted app (used MVC). I have generate Client Secret and Client Id from _layouts/15/appregnew.aspx, updated web.config file and...
View ArticleDownload a custom displayed document library item programmatically.
Hi all,I've developed a visual web part that displays all the items in a document library and customized the look using a repeater but all I needed was to add for each record/displayed item a...
View ArticleGet all user profiles from within a provider hosted app
Hi,I am trying to create a provider hosted app part that will list out all the sharepoint users that have been synched with AD. This will be added to a gridview for an internal contact list.I am...
View ArticleSharePoint 2013 - Custom MasterPages and Custom Css
Hello guys,I have implemented a custom MasterPage in SharePoint 2013 for Publishing site however I m getting some issue with the ribbon.The MasterPage look and feel should like the Image 1 however when...
View ArticleGet and set SPFieldUserValue from Workflow
Hi,I can't get or set SPFieldUserValue field in the list. Field name is Initiator.Set operation.For setting I use UpdateListItem activity and as a value for Initiator field I use such...
View ArticleMultiple login prompt for SharePoint-hosted app
Hi,I knew that Tony already asked the question for provider-hosted app here. However, the issue is worst for SharePoint hosted app. Let's take the following scenario:I installed 4 apps to a SharePoint...
View ArticleError while trying to save page edits, please help!
Hi, I am using SharePoint online 365 and when I try to make an edit to a page, I am getting this error message after hitting the save button.I had previously attempted at deleting the two lines of text...
View ArticleList "View" with current time in column
Hi.I know that list view does not support fields calculated on page load. But I have to realize such functionality.Can someone provide options for realizing this?"Hack" some internal SQL query, inject...
View Articledownload image by client object Model : The remote server returned an error:...
Hello, I have an image in the following path in SharePoint http://servername/sites/Test/en-us/PublishingImages/activity.pngI write the following code to download image by client object Model...
View ArticleREST API to rename the folder + move folder + copy folder (Prog. Lang. is Java)
Using following way to rename the the folder but it rturns status code 204 and does not change the folder name.url: http://site url/_api/web/GetFolderByServerRelativeUrl('/Folder Name') method: POST...
View ArticleHow can I insert multiple page contents in the page layout properly?
I wanted to create 4 columns on the page layout. These 4 columns are of page contents.After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4...
View ArticleList definition and list instance programmatically
I have created list definition and list instance programmatically (for document library). Now, every time I deploy my solution, my new list is created.If I put some files in this document library, they...
View ArticlePromoted Links app Behaviour=Dialog Question
Greetings all. I have an issue with the Promoted Links app. Here is the situation:Site Collection created as a Publishing SiteHome changed to Page Layout – Blank Web Part PageHave a Promoted Links app...
View ArticleHow to programmatically promote (change) ETag of SPFile
I need to programmatically only change the ETag version of an SPFile (ideally to increment it only by one).The situation is the following. I use the SPExport and SPImport to modify the file but I only...
View ArticleSite lookup columns that contain a list with lookup columns help needed
Here is the theoretical scenario,I have a list called Shirts. The list contains name,color, and size columns.I have a list called Pants This list contains name, color and size columns as well.These two...
View ArticleGetting Error while deploying the autohosted event receiver in office 365 (...
Hi,I was successfully able to deploy my auto hosted event receiver in office 365 and it was working. I did some changes on code and try to deploy it again but now it through same error always wheneven...
View Articleclient object model and workflows
I use sharepoint online and I need to stop all working workflows in some events.since I can't use event receiver, how can I do this?can client object model work with workflows?
View Articlecreated by and modified by for a item
when we create a list item we can change the created by and modified by like this :item["Author"] = userValue ; //InternalName of "Created By" field is "Author"item["Editor"]=userValue ;...
View Article