Home

SharePoint Developer

1141 Conversations

Latest Activity

Custom List Message Item

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

 

Topics covered on 8th of December 2016

... Read More
582 Views
0 Reply

I've been searching for an opportunity to get files and folders guestaccess URL using REST api in Sharepoint Online
Is there a way to get it using RESTapi or JSOM? 

I found an example authored by @Vesa Juvonen, where it done using CSOM: 

https://github.com/SharePoint/PnP/tree/master/Samples/Core.ExternalSharing/Core.ExternalSharingWeb

... Read More
2,773 Views
2 Replies

Hi Mihkel,

 

It's possible with the following web's methods:

- CreateAnonymousLink

- CreateAnonymousLinkWithExpiration

 

Some valuable details can be read here in Steve Curran'

... Read More
Best Response confirmed by Mihkel Moorats (Occasional Contributor)

As a opersource developer, sharepoint framework persuaded me to go with sharepoint. To get some idea of demand and scope, I want to know about adaptability of sharepoint framework among solution proivders and developement community.

 

113 Views
0 Reply

Hello everyone,

 

I'd like to access (read) a file using it's full URI (e.g. 

https://mydomain-my.sharepoint.com/personal/jhonny_mydomain_com/Documents/myfile.xlsx

I added the application permission "Read items in all site collections" both under the "Office

... Read More
105 Views
0 Reply

Hi all, looking for advice on how best to acheive SharePoint content targeting based on Security Group Membership.

 

So a user is a member of multiple Groups and I want to be able to target content based on these groups. Audience Compilation in SharePoint O

... Read More
207 Views
4 Replies
How exactly do you plan to "surface" the content (without using audiences or item level permissions)?
What about using Property Bags?

I seem to recall someone saying / writing that updates were coming to SharePoint Online CSOM where you could update a list item without triggering workflows (like you can on prem), did that ever come to fruition?

687 Views
10 Replies
Vesa mentioned on the PNP-JS call today that there was an update in the November CSOM release that would let you do a systemupdate from csom without triggering workflows.

Hi there,

 

SystemUpdate is presented in CSOM/JSOM too, actually. It was added in SPO sometime before and seems like it works very close to SSOM's method:

 

  • No editor and mod
... Read More
Best Response confirmed by Brent Ellis (Valued Contributor)
and hue.. it is not GA yet... only first release preview
You mean webhooks i guess a new way of triggering events in lists

Mmmm...first time I heard this, but I'm pretty sure @Vesa Juvonen will have the answer to this question

Read More

Hi

 

Is there a way to use CSOM (Powershell or C#) to get the default page layout for an Enterprise Wiki site collection?

 

Thanks.

190 Views
4 Replies

SharePoint Folder object has WelcomePage property.

E.g., for a web: `oWeb.RootFolder.WelcomePage`.

 

Page layout is not the same. For publishing web a default layout can be:

... Read More
You could get the homepage of any sitecollection using PNP https://dev.office.com/patterns-and-practices Read More

Hi,

We have a SharePoint add-in with a page consisting of several custom lists. The add-in works correctly if installed from scratch, you can add information to the various lists, and work with it for days/weeks with no issues. The problem is that once you

... Read More
95 Views
1 Reply
Seems the problem is in the add in do you check if the list already exists in the app?

Hi

I have modified the Share Application Page and the corresponding code behind.  On some machines this works fine, 100% of the time.  On some other machines it works for a while and then stops working, on other machines it takes two, three, four or more c

... Read More
72 Views
0 Reply

Strange problem here...

 

We are using a PnP Provisioning Template to provision a Publishing Site. The welcome page for our Publishing Site uses a custom Page Layout bound to the out-of-the-box Welcome Page Content Type. In our Page Layouts we make use of R

... Read More
179 Views
2 Replies

I'm assuming that you are applying a template. Can you check the xml of the template for

< pnp:Files> 

 

In there you should find 

 

< pnp: Property Key="PublishingPageContent

... Read More

Hi all , just running this powershell command, but the TItle is not being populated when I add the "PM" column value. The PM is a User/Group Column. If i remove that it works, but as soon as I add it back in the title is not populated?

 

Also another observ

... Read More
528 Views
5 Replies

I've found weird things too with this command when trying to add 'people/group' fields.

But the fix was to run it twice. First run, create the item and add the person, nex

... Read More

Hi Daniel,

 

i think you inserted the user the wrong way it should be: "i:0#.f|membership|anotheruser@yourtenant.onmicrosoft.com";

 

Read More

We want to build the Xamarin Form App which can access the Sharepoint Online using Office 365 API with integration with Azure AD. Would be interest in the reference documentation and Code Sample for the same.

 

154 Views
1 Reply

Not exactly what you are asking, but you may find this helpful.

MS recently announced that Azure AD device-based Conditional Access policies for iOS, Android and Windows a

... Read More

Hi,

 

I'm assuming the O365 icons are accessible? If yes, how can we use them? Instead of using images, I'd like to use the icons. 

 

Please help.

426 Views
3 Replies

I suggest you to have a look at this

http://spo365icons.azurewebsites.net/

 

or Office UI Fabric, as Paul was also suggesting:

https://dev.office.com/fabric#/styles/icons

Read More
It depends you could use UI Fabric. But you could also look it up with developer tools in your broser. Most images are in _layouts/15/images/....

Hi all , just running this powershell command, but the TItle is not being populated when I add the "PM" column value. The PM is a User/Group Column. If i remove that it works, but as soon as I add it back in the title is not populated?

 

Also another observ

... Read More
115 Views
1 Reply

just answered it in your other topic i gues it is the username which is incorrect "i:0#.f|membership|anotheruser@yourtenant.onmicrosoft.com";

Hi,

 

I am trying out the "O365 Intranet starter" from PnP.

Almost everything is working just fine, but i have some issues.

 

This function expects a Web object (Get-PnPWeb is the same as the "old" Get-SPOWeb):

function Enable-CustomItemScheduling {
[CmdletBind
... Read More
674 Views
7 Replies
Godfather PowerShell @Erwin van Hunen Any clue? :)

Hi all,

 

I just wondering if the timer job framework inside PnP supports server-2-server (or high) trust (like a PHA) in a on-prem installation of SharePoint 2013? I use the method "UseAppOnlyAuthentication" and provide the client ID and client secret. In

... Read More
108 Views
0 Reply

We are trying to upload larg file to sharepoint online via provider hosted app mvc 5 with app only permission with below csom pnp guidance. It does upload file but makes file size to 0 byteswhen download so files looks corrupted.

 

There is no exception/iss

... Read More
129 Views
0 Reply

Is it possible to force just one Form into Classic Mode?

 

 

 

From the docs:

Use auto-detect to automatically return to classic view

As an admin, you can choose to show classic view only, or use the new experience but automatically return to classic view when

... Read More
128 Views
1 Reply

Ithink it is not possible

I have seen the PnP since 2014, and I saw the progress Microsoft and the community are doing in that matter, however it always felt like it's a blackbox for me, and I don't know how to really use it. A lot of projects, components, samples, which one to us

... Read More
284 Views
5 Replies
What i would have done : 1) youtube : check for ignite channel find relevant videos and watch it. 2) follow youtube channel on pnp and check relevant videos and watch it ... Read More

Every example I see of PnP-JS-Core uses the current web. How can I open a list from another web?

439 Views
3 Replies
have not seen the code but i guess you need to create your own clientcontext with site url and then go to the correct web.

Wondering if the Get-SPOProvisioningTemplate cmdlet can be used on UnifiedGroups? Personally running into an "Object reference not set to an instance of an object error

while trying to extract the group template.

It works if I pass the -Handlers attribute a

... Read More
226 Views
5 Replies
thanks Juan Carlos, Mainly keen on knowing who modern team sites will be handled in PnP site provisioning going forward. And is there an path/track/ability to convert a c... Read More

I believe there are at least some new cmdlets ready to work with Groups...not sure about the Provisioning Engine...Adding @Vesa Juvonen @Paolo Pialorsi

Read More

Hi 

 

We have a customer that is migrating their Notes applications to SharePoint Online. Some of the Notes form are quite large and we initially thought of using Nintex Forms (the customer has a license) but I'm not satisfied with the load time for large a

... Read More
186 Views
0 Reply

SharePoint Patterns and Practices (PnP) - PnP Core, PnP PowerShell and provisioning engine Special Interest Group (SIG) weekly call recording for the 30th of November meeting is now available from PnP YouTube channel at http://aka.ms/sppnp-videos.

 

Topi

... Read More
327 Views
0 Reply

I'm getting the following error while looping through a local directory structure and trying to upload all files to a SPO library. The first file in each directory succeeds but the following files in the same direcotry give an error. It seems to me the co

... Read More
687 Views
4 Replies

Check the below script, which will loop through the directories and add the required folder and upload the files to SPO. While modifying "$folder", don't forget to have "

... Read More
Maybe you should groep the files to each folder... and for each folder iterate through the array instead of for each file. That makes it easier to debug if something is n... Read More

Hi All,

 

Since a few weeks we have been provisioning a lot of team sites (about 1.000) so far.

Al went well, but as of today we started to experience problems.

 

After some digging, I found out that some features are no longer automatically activated after th

... Read More
261 Views
3 Replies

I created a new collection today and the Features you list are all Active.

Hi @Thomas Gielissen,

I'm not sure when this changed but I just created a new team site collection and I'm sseing the same as you. Site collections created a month back st

... Read More