Home SharePoint

SharePoint Developer

524 Conversations

Latest Activity

Custom List Message Item

I am using VS2017.

I have downloaded into the same level, but diferent directories, in my GitHub Repro, SharePointPnP.PowerShell and OfficeDevPnP.Core and compiled both in Debug Mode.

I have attached to all of the PowerShell processes I can find.

I have put

... Read More
74 Views
4 Replies

Hi @Nigel Price,

 

How are you running your PowerShell commands?

 

I find deugging the easiest by running PowerShell in Visual Studio's PowerShell Interactive Window. Then si

... Read More

Hi folks,

 

I'm new to SharePoint and developing for it so this could be a user error on my part but I'm really stuck and hope someone can help.

 

I wrote a simple powershell script to connect to a site and add a list item.

 

The script connects to the SharePoi

... Read More
161 Views
8 Replies

The - List parametr expects a list object.

 

So it is better to include this

 

$list = Get-PnPList -Identity $listname
Add-PnPListItem -List $list -Value $itemValues

 

Read More

Hi there all,

 

I'm fairly new to pnp so i have a lot to cover. Not in this discussion - but in general. I am very excited by it. This question is about pnp provisioning template.

 

I just wanted to put this question out there/here for anyone else that may ha

... Read More
38 Views
1 Reply

Hi,

This Directory node is working fine for me:

 

        <pnp:Directory
          Src=".\MyLocalStyleLibrary\images"
          Folder="{site}/Style Library/MyProject/images"
 
... Read More

I have a scenario where I need to fetch a particular version of a list item using CSOM.

CSOM gives me version labels but only allows me to retrieve these fields:

 

CheckInComment,Created,CreatedBy,ID,IsCurrentVersion,Length,Size,Url,VersionLabel

 

There is way

... Read More
62 Views
1 Reply

Hi Team,

 

I have a SharePoint list that is a small sales pipeline. I would like to either export the list items with version metadata so I can hook it up to Power BI and analyse it. There is a drop down that controls the item through the sales pipeline so

... Read More
54 Views
3 Replies

Hi Mark,

 

I might not be understanding all the requirements but maybe rather than creating all those duplicate records perhaps you could do a few of the following:

 

1) Mayb

... Read More

Video at YouTube

 

This is the recording of PnP monthly community call from Tuesday 14th of March. PnP monthly community calls are for covering changes in the SharePoint PnP initiative during past month, provide credits for all the community contributors

... Read More
642 Views
0 Reply

I was looking for a full featured Taxonomy picker like the one on the moder experience on SP... There is something I can use, that integrates well with react?

 

 

149 Views
7 Replies
No samples yet with React, but that one (Likely you already know this) is a Taxonomy picker with knockout, and shouldn't be too hard to move to React:
https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/knockout-taxonomy Read More

What is the best way in powershell scripts to tell if an Add-PnPFile was actually successful in performing an upload?  Ideally want to store a "successful" true or false in a variable.

69 Views
3 Replies

Check if you can do something similar to the below.

 

$status=Add-PnPFile -Folder "Shared documents" -Path C:\eports.xml -ErrorAction SilentlyContinue
If($status)
{
$succes
... Read More

I have a requirement to add a Visio diagram that contains links to SharePoint pages connected to the shapes in the diagram. How would I do that? I have no experience with Visio, and I found instructions on how to add hyperlinks to shapes, but I'm not havi

... Read More
191 Views
14 Replies
In general it would depend on what the link is going to point to, but typically you would want to do that within Visio itself before the diagram is published. You can the... Read More

Looking for suggestions for my first use of the new SharePoint Framework.

 

I haven't coded in a while but will muddle my way through that part.

 

Looking for the simplest application to show a group of developers the possibilities.

 

Thanks,

eZe

Read More
91 Views
3 Replies
Also the SPFX 40 from Olivier CC - https://github.com/OlivierCC/spfx-40-fantastics. As for other ideas, how about a blog roll to show either the traditional blogs or the ... Read More
The world needs more weather webparts. :-)

this will be a good starting point: https://github.com/SharePoint/sp-dev-fx-webparts

 

Read More

I am working on a SharePoint Framework webpart and packaging up as an add-in. Can I deploy this to a developer site collection in any way or only to the app catalog? Was hoping that I could deploy to a developer site for integration testing before putting

... Read More
53 Views
2 Replies
I think you need to deploy it first into the app catalog. Once you're done, you can install the client-side solution on your site (dev site or whatever). Here is the proc... Read More

Hey, I am using SharePoint Online, simpoly using PnP-PowerShell to export the template from one site collection to another. No colums or content types are in the Content Type Hub, so synching them instead.

 

Everything works fine at export, but then when I

... Read More
100 Views
5 Replies
Where do you get the error.

Can you run set-pnptracelog -on -level debug before the apply cmdlet.

Is it in the lookups. So a field in the lookup is used that isn't created? Read More

Hi Liam,

 

can you post your xml extract? 

We have a console application (C#) that runs nightly to gather stats about our SharePoint Online environment. It has been logging the number of subsites we have using the SiteProperties.WebsCount property since 9/7/2015. Starting on 12/20/2016, that numbe

... Read More
238 Views
7 Replies

Hi @Kelly Jones,

 

I've tried the same with Microsoft.SharePointOnline.CSOM.16.1.5903.1200 and it seems to be working without any problem so I don't think that this is rela

... Read More

When adding a SPFx webpart in a fixed with column in a fixed width webpart, the SPFX root div seems to have a hard coded width of 971px on the root div making it not work properly in multi-column layouts on classic page.  Wondering if anyone else has seen

... Read More
46 Views
0 Reply

Is there a PnP PowerShell equivalent of this CSOM command :-

 

$webapp=Get-SPWebApplication $WebApplicationUrl ?

 

Which gets the details of the Web Application at $WebApplicationUrl (On-Premises Only)

36 Views
0 Reply