Log in using the Site Collection Administrator account or set your account as the Administrator and try again.
Tag: Sharepoint
Remove feature in SharePoint 2013 using PowerShell
Add code behind to SharePoint 2013 master page
However for some reason, it’s required to set ControlSrc to “~/_ControlTemplates/15/…” or else the control won’t be used.
Sharepoint search using multivalue field
Example:
Tags:banana,authenticated Site:”http://server/Pages/AFolder”
Using REST
http://server/_api/search/query?queryText=’Tags:banana,authenticated Site:”http://server/Pages/AFolder”‘
SharePoint search API
information refer to the article at https://msdn.microsoft.com/en-us/library/office/jj163876.aspx
Using KQL for query
Search
keywords: https://msdn.microsoft.com/en-us/library/office/ee558911.aspx
FQL can also be used, but some configuration is needed:
https://msdn.microsoft.com/en-us/library/office/jj163973.aspx
Query for managed metadata http://www.techmikael.com/2014/03/s15e01-kql-basics.html
A useful search tool: https://sp2013searchtool.codeplex.com/
Filter by taxonomy column in SharePoint 2013 REST API
And this article: https://sharepointgotchas.wordpress.com/2014/11/18/using-rest-to-query-data-by-filtering-on-taxonomy-field/
The filtering works using CAML query.
Site Collection not showing in Term Store Management
C# String problems
If the application only uses English language, it’s possible to strip all control characters from the data before doing other string operations.
Use the Regex to do so
data = Regex.Replace(data, @”[^x20-x7F]”, “”);
This line will remove all characters that are not in the range 0x20 to 0x7F in the ASCII table.
Then proceed to do string operations as per normal.
Deployment stuck at deploying in Sharepoint Solutions Manager
Before deploying the solution using central admin, make sure that the sptimer service and sp web services root application pool is running on all servers (WFE and APP)
The reason why it got stuck is that it couldn’t complete the deployment on one or more servers. Make sure that all the servers are accessible and have enough space.
Read SharePoint workflow status in JavaScript
var context = new SP.ClientContext.get_current();
var web = context.get_web();
var list = web.get_lists().getByTitle(listTitle);
var listItem = list.getItemById(listItemId);
context.load(listItem);
context.executeQueryAsync(
function() {
var workflowStatusField = listItem.get_parentList().get_fields().getByTitle(workflowTitle); //get workflow status field
var workflowStatusValue = listItem.get_item(workflowTitle); //get workflow status field value
success(workflowStatusValue);
},
error
);