Tags » SharePoint 2013

Tạo Item mới trên site collection khác sử dụng REST API

Code

Function code
function getFormDigest(webUrl) {
    return $.ajax({
        url: webUrl + "/_api/contextinfo",
        method: "POST",
        headers: { "Accept": "application/json; odata=verbose" }
    });
}


function createListItem(webUrl, listName, itemProperties) {
    return getFormDigest(webUrl).then(function (data) {
        return $.ajax({
            url: webUrl + "/_api/web/lists/getbytitle('" + listName + "')/items",
            type: "POST",
            processData: false,
            contentType: "application/json;odata=verbose",
            data: JSON.stringify(itemProperties),
            headers: {
                "Accept": "application/json;odata=verbose",
                "X-RequestDigest": data.d.GetContextWebInformation.FormDigestValue
            }
        });
    });
} 242 more words
SharePoint

SharePoint 2016 - There was an exception in the database.

With all the new products and updates in Office 365 Microsoft 365, I’ve not been able to write many real SharePains articles anymore. But today I had a real pain with SharePoint. 145 more words

SharePoint

[NINTEX] Link in Item Context Menu

Nintex Workflow 2013 includes an option in the Workflow settings to add a link to the item’s context menu to manually start a workflow.

To add the option: 122 more words

Featured

Hiding Calculated Columns from Display Form

By default, the option to hide a calculated column for a content type is grayed out. Some people are able to use SharePoint Designer to hide these columns, but we kept running into an error when saving our changes. 63 more words

SharePoint 2013

Matomo (Piwik) and SharePoint - Tracking on Sites with Minimal Download Strategy or Search

Using Matomo (Piwik) with SharePoint can be very straight forward. There is no need to install any extension for SharePoint or any .wsp solution. All you need is Piwik installation and some lines of JavaScript in a file and a bit of… 508 more words

SharePoint 2016

SharePoint Online/2013 Replace no results default text ‘Nothing here matches your search’ from search results web part

As we all aware, SharePoint search have great potential to provide very powerful search solution. Couple of new webparts are added in SharePoint 2013, like Content Search web part for which I should use rather a word “Smart” search web part. 817 more words

Sharepoint

SharePoint and the infamous People Picker

So, I had a pretty interesting support case the other day. Cx stated that people picker wasn’t returning any results for users in a trusted domain. 1,836 more words

SharePoint 2010