Home SharePoint

SharePoint Developer

599 Conversations

Latest Activity

Custom List Message Item

Sorry if this seems like a basic question, but I am an absolute beginner with all the new tooling and language stuff around SPFx development.  What are the steps to start a new web part that will use jQuery and sp-pnp-js and test on my sp-online dev tenna

... Read More
282 Views
14 Replies
I think the issue is because you have to tell spfx that you are using an external library "sp-pnp-js", and where is located. This is done in the config.json file, like (e... Read More

I saw the news today and tested out the CDN feature in a SharePoint Online tenant with first release.

 

I enabled both the public and private CDNs, created libraries, and added origins.

 

I can reference items through the public CDN using the URL htts://publi

... Read More
113 Views
3 Replies

Hi @Jason Warren,

private CDN works automatically for publishing pages if it refers assets from the CDN origins. This is fully automatic and built in the page processing.

... Read More

Hi

 

I  want to add Google analytics to every site on our Office 365 (Classic Look" ) intranet / site collection.

 

The following post mentions using Google Custom Dimensions which I have now set up. 

https://allcloud.com/blog/optimizing-google-analytics-for-sharepoint-and-office-365/

... Read More
52 Views
1 Reply

 

 

Ok 

 

I have added my code to the sample but thought it was wise to to test AC's sample since it has been a while since I have deployed a custom addin. The first issue is

... Read More

How to create a custom ribbon that execute a custom action in a sharepoint library Ribbon programatically?

 

46 Views
1 Reply

I'm assuming that you are using Office 365 and that you will want to use CSOM:

 

https://lixuan0125.wordpress.com/2014/03/04/add-custom-action-through-csom-with-app/

 

Read More

I was trying to enable the private and public CDNs for our tenant but I was getting error with the Set-SPOTenantCdnEnabled PowerShell command - regardless of the CdnType switch - public or private.

 

I am running the latest SharePoint Online Management Shel

... Read More
92 Views
4 Replies

Hi @Kiril Iliev,

Only logical reason for this would be that you have SharePoint Online Clinet Components SDK (https://www.microsoft.com/en-us/download/details.aspx?id=42038

... Read More

csom-april-2017-release-promo.png

 

We are happy to announce availability of new SharePoint Client Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. This release again contains few updates on the existing SharePoint CSOM

... Read More
22 Views
0 Reply

Hi all,

 

I need to hide the property Show pages on Site Settings > Navigation Settings > Global Navigation > Show Pages using PnP

 

I'm not able to find the way for doing it. Thank you!

 

 

Hide Show pages Global navigation.PNG

 

 

 

Read More
53 Views
3 Replies

hi, that's controlled by a property on the spweb object, you can update in using power shell by updating the webs property bag.

 

web.AllProperties["__GlobalNavigationInclu

... Read More

Last time I looked (Over a year ago) you couldnt do with PNP but you can with others eg

 

https://sharepoint.stackexchange.com/questions/202858/navigation-settings-csom-powershell-for-sharepoint-online

... Read More

 

SharePoint Patterns and Practices (PnP) - JavaScript Special Interest Group (SIG) bi-weekly call recording for the 27th of April, 2017 meeting is now available from PnP YouTube channel at http://aka.ms/sppnp-videos.

Topics covered on 27th of April 2017

    ... Read More
    82 Views
    0 Reply

    Is there any plan to allow us to provision new Office 365 Group sites using PnP? We use the Group feature for working groups and it would be nice to be able to deploy their sites using our own templates.

    56 Views
    1 Reply

    You can apply PnP Provisioning template to created modern site. Just grab root web of your newly created site and apply provisioning template? I think at this moment ther

    ... Read More

    Hi all,


    I have to upload a file and next command works fine:

     

    Add-PnPFile -Path $file -Folder "/Pages" -Web $subweb -Values @{Title=$subweb.Title}


    After upload the file, I get information about the file state. The file is checked out for me.
    I try to use next

    ... Read More
    93 Views
    4 Replies

    Have you tried Set-PnPFileCheckIn?

     

     

     

     

    Read More

    Hi folks,

     

    I'm currently developing a Client Side Web Part which is deployed automatically to a Office 365 CDN which is defined in the "write-manifest.json".

     

    This works quite fine but in the long term I plan to use different environments with at least "Int

    ... Read More
    62 Views
    1 Reply

    There is a ship flag for the upload-to-sharepoint task but it doesn't do much at present. You could use this flag to control publication of your scripts to test or produc

    ... Read More

    I've been trying to create documents from template in SharePoint Online using methods that were added in a more recent update of CSOM. However I can't get it to work. All methods fails in different ways. Is there a working example?

     

    // TODO: Assign the fol
    ... Read More
    107 Views
    1 Reply

    I just tried using the new CreateDocumentFromTemplateUsingPath that was added in the March 2017 version of CSOM. It creates an invalid file just like CreateDocumentFromTe

    ... Read More

    For our customers we are provisioning SharePoint sites using the Office Dev PnP materials. For our solutions we prefer provisioning using the Provisioning Schema above using the Office Dev PnP PowerShell commands, therefor we are transferring as much Powe

    ... Read More
    435 Views
    6 Replies

    Hi @Harold van de Kamp,

     

    Are you trying to create the site collection with the apply-SPOProvisioningTemplate?

     

    Apply-SPOProvisioningTemplate expects an existing site collec

    ... Read More

    Hello guys,

     

    I am trying to find a way to debug my local SPFx workbench (react, typescript webpart) from Visual Studio Code instead from Chrome, but I could not find any guides on how to attach the Chrome to Visual Studio Code and hit a breakpoint. Are the

    ... Read More
    188 Views
    4 Replies
    Hi Velin, It's possible to debug client side JS in VSC via Chrome Debugger protocol while executing accessing JS App in Chrome. There is an extension for this and nice de... Read More

    We have some concerns for a client that is using Office 365 and we were going to enable the Office 365 CDN (Private), however we noticed the warning message that it is a feature built on a 3rd-party application and data center owned by the 3rd party with

    ... Read More
    39 Views
    0 Reply