Home

SharePoint Developer

1042 Conversations

Latest Activity

Custom List Message Item

I am using PnP-JS-Core from a simple SharePoint page to gather data from other webs.
using:
import { Web } from "sp-pnp-js/lib/sharepoint/rest/webs";

I am also using WebPack to bundle the solution but I'd like to use pnp.js from our internal CDN and not hav

... Read More
342 Views
1 Reply

Hello Djemel,

 

With the release of 1.0.5 this week we now support this scenario by exporting many of the objects to the root level. So if you do:

 

import { Web } from "

... Read More
Best Response

Hi there,
I want to automate my template modification, for example: I only extract my lists but I don’t need all of them and I want to automatically filter them to keep my two custom lists, nothing else.
Is there any guidance how to edit the template xml wi

... Read More
139 Views
1 Reply

Hi @Dávid Sass,

 

Are you using .pnp or the .xml format.

 

If you are using .xml then you could use:

 

[xml]$xmlDoc = Get-Content -Path c:\temp\template.xml

 

you will then have

... Read More

Hi

 

I am trying to create a content type from a parent content type but I notice that the ParentContentType is readonly

 

in OfficeDevPnP.Core.Framework.Provisioning.Model.BaseModel.ParentTemplate.

 

How do I do this ?

 

Thanks

 

Nigel

Read More
52 Views
0 Reply

Hi

 

I understand this for loading and saving templates :-

 

// Save template using XML provider
XMLFileSystemTemplateProvider provider = new XMLFileSystemTemplateProvider(@"c:\temp\pnpprovisioningdemo", "");
string templateName = "template.xml";
provider.SaveAs

... Read More
122 Views
2 Replies
Connectors implement basic stream IO operations for different location (e.g. FS, Azure Storage e.g.). Providers serialize (deserialize) templates based on streams they ge... Read More

 

This is the recording of PnP monthly community call from Tuesday 11th of October. PnP monthly communnity calls are for covering changes in the PnP initiative during past month, provide credits for all the community contributors and for demonstrating ne

... Read More
324 Views
1 Reply

Thanks for the updates. Please consider making these kind of videos a podcasts.

I'm trying to debug PnP powershell Cmdlets like I've described here:

 

https://veenstra.me.uk/2016/10/11/office-365-how-do-debug-pnp-powershell-commands/

 

I now found that this works fine on my laptop. On my desktop using the same configuration it doesn't wo

... Read More
75 Views
0 Reply

Hi,

 

I have a question about the workfow deployment of Dev PnP.

Can we deploy a workflow to a new provioned site collection with only the XAML available?

If i do that with the template i get a error and i heared that the sandbox solutions are depricated in O

... Read More
179 Views
1 Reply
Bear in mind the following:
(1) Sandbox code solutions are deprecated what means declarative sandbox solutiones are not deprecated
(2) In your project please ensure there i... Read More

Hi

 

 

Not sure if this related to the build of of this module or somthing I am doing - skipping the PublsherCheck 

 

 

PS D:\PS\WSLOffice365\WSLOffice365AdminTasks> Install-Module SharePointPnPPowerShellOnline -Force
PackageManagement\Install-Package : The vers

... Read More
94 Views
2 Replies

I reported the same issue yesterday in the GitHub repo. I think that @Erwin van Hunen may already be investigating. 

 

I did some digging on my machine and found some old m

... Read More

When I do a Get-Module -ListAvailable, I see the following. Both show the same cmdlets, Why are there 2 modules shown for PnP? Why are they in different locations? Why are the version numbers so different?

 

Directory: C:\Users\dgross.CSG\Documents\WindowsP

... Read More
206 Views
3 Replies

When I say 'remove that folder' do -not- remove c:\users\<yourusername>\Documents\WindowsPowerShell\Modules obviously, but remove the folder inside that folder that conta

... Read More
Best Response

You for instance might have tried compiling the cmdlets yourself in Visual Studio a long time ago (hence the old version number) and while doing that it gets installed by

... Read More

Hi everyone!

I'm playing with SPFx by doing some "hello world" apps, and everything is working fine for now. But, I'm having an issue when I try to run my open my code with Visual Studio 2015 instead of Visual Studio Code. It seems that I need a module cal

... Read More
803 Views
2 Replies

It seems that using the latest released drop of SPFx the problem disappears. Now I can build and run my code with VS 2015 following the instructions here: http://dev.office.com/sharepoint/docs/spfx/web-parts/basics/use-visual-studio

... Read More
Best Response

Hello community,

 

So i was opening my document library from my custom web app with passing column filters in URL (query string). Now i need to use metadata navigation heirarchy but problem with this is that once you navigate from one node to another (in me

... Read More
203 Views
3 Replies

Hi @Bilal Fazli,

 

What are you using these filters for. should I think about things like ?k=testsearchvalue to feed search result web parts?

Read More

I am following the labs for SPFX available here

http://dev.office.com/sharepoint/docs/spfx/web-parts/get-started/serve-your-web-part-in-a-sharepoint-page

 

I am trying to upload my app (web part) to the App Catalog.

After upoading the .spapp package, I am not

... Read More
1,278 Views
3 Replies

Hey,

Today i was developing Client App Part for SharePoint Hosted App. But it was with fixed width and height. I want to develop it with resizable function

 

Please help me out

305 Views
2 Replies
Client App Part is a iFrame based solution. if you want to make client app part responsive, you should check out how to make iframe responsive. there are many articles av... Read More

Hi,

 

I am searching for proper resources or study material to prepare 70-488 exam.

Please help me out

132 Views
2 Replies

I have been trying to get @SPDoctor's SiteInfo web part working with SPFx framework.  One of the dependencies is sp-pnp-js.  I get failures when I try and compile the webpart with gulp serve :-

 

'typings' is not recognized as an internal or external comman

... Read More
332 Views
2 Replies

Hi

I finally got this to work by doing the following :-

 

npm install typings -g

 

which fixed the first problem and the I got "cannot find module  'sp-pnp-js'@ error

 

I tried

... Read More

Hi,

Can any one help me out this Hybrid app concept? What will be the architechture of the same

110 Views
1 Reply
Could you please provide us the scenario and use cases so we can help you?

I'm trying to find a tutorial that will help me develop a class registration process using SharePoint. I've been search the internet, and I'll continue searching, but I'm hoping someone here has done it and can point me in the right direction. I tried thi

... Read More
178 Views
2 Replies

Which SharePoint version are you using (2013, 2016, Online)?

What is your list separator (";" or ",")? - You are using ";" in your formulars!

Have you tried building your I

... Read More

Just to add to this... I'd really prefer an easier solution, especially since I only have a couple days to do this!

Hi

 

Today i came accross a this link

http://www.disruptivei.com/Blogg/Inl%C3%A4gg/3/SharePoint-hosted-Apps-can't-be-safely-licensed-

 

According to above link, It is very easy to bypass licensing or easy to hack it. If its true then what will be alternative f

... Read More
110 Views
0 Reply

Hi, I'm 101 developer, can you provide a roadmap to be a office/sharepoint developper? There is too much information and that generates confusion.  Thanks

160 Views
2 Replies
Hi Jimmy - the great thing about the latest updates for SharePoint 2016 is that 'regular' web development skills are really core. Depending on where you are starting from... Read More

I have a PowerShell script that uses SPDocumentLibrary.CheckedOutFiles to get files that are checked out in a library. This property is a list of checked out files including files that have no checked in version.

I'm writing a script to run against a SPO

... Read More
594 Views
8 Replies
I have tested List.RootFolder.Files and it returns checked out files as well as files without version numbers as expected.
You have mentioned that List.RootFolder.Files do... Read More
IMHO, You can try Document Library Templates for migration which will do this job easily.

If I do Set-SPOListItem with string variable it gives error. Please see following:

 

$value="David Longmuir","Conf Room Stevens"

Set-SPOListItem -List $bidDetailsList -Web $web -Values @{$key=$value} -Identity $itemCheck.Id

 

Error: Set-SPOListItem : The speci

... Read More
204 Views
2 Replies

You can try

 

Set-SPOListItem -List $bidDetailsList -Web $web -Values @{$key=$value} -Identity $itemCheck.Id

$value=@("David Longmuir","Conf Room Stevens")

Read More

I'd like to be able to programmatically retrieve a user's name and manager using code similar to the following:

    using (var clientContext = TokenHelper.GetClientContextWithAccessToken(hostWeb.ToString(), accessToken))
    {
        var peopleManager = n
... Read More
206 Views
4 Replies

you can not get the propties of a profile where you have not the right to see it.

var clientContext = new SP.ClientContext.get_current();
var peopleManager = new SP.UserPr
... Read More

Hi

I want to be able to update Content Types / Fields / Lists/ Groups / Users in an Office Dev PnP Provisioning Template.

 

When I look at the PnP-Core code I see the following :- private static void UpdateContentType . The scope is private not public. I can

... Read More
193 Views
1 Reply

In Provisioning Templates some updates (especially additions but some configuration changes also) will just be applied if you modify the template and apply it again to th

... Read More

Hi Community,

 

So as we know SharePoint maintains a hidden taxonomy list where it keeps the ID's of each term in term store. But when i access the hidden list it is empty. As per on premise knowledge Managed MataData Service (App) runs a automated update s

... Read More
271 Views
0 Reply