Home

SharePoint Developer

963 Conversations

Latest Activity

Custom List Message Item

Hi

 

Can I disable a link on a modern page ?

 

I want to disable the "Share" link in the top right hand corner of a home page of a site so a site cannot be shared.

 

Thanks

 

Nigel

21 Views
1 Reply
Well, if this is possible in the modern UI it must be by means of a SPFx Extension

Hi,

 

I try to generate a provisioning template from a clean Site Collection on O365.

It's a Publishing Site without workflow, with some custom Site Content Types and Columns (simple type of columns, no calculated, lookup, managed metadata).

No customization

... Read More
10 Views
0 Reply

Hi everyone,

 

Any suggestion on this problem would be much appreciated.

I'm trying to load all the items from a list that contains some managed metadata fields using the REST api.

The API returns back an Id in place of the Label value

The list is located on a

... Read More
61 Views
3 Replies

Hi Joel,

 

This is a well-known issue since 2013.

Single-valued MMD columns just can be retrieved as desired with OData, with Multi-valued MMD columns it is much better.

 

But

... Read More
Best Response

I have now gave up and used JSOM to load the data...although I would still like to hear suggestions if you have come across this scenario before.

 

In case you are working

... Read More

Environment:

  • SharePoint 2013/2016 on-premise environment

Requirements:

  • Custom List form which needs to retrieve information based on filled inputs during edit > not after saving
  • The information needs to be retrieved via Web Services from other internal applic
... Read More
63 Views
2 Replies
Then JSOM is not an option here....did you mean CSOM? If the backend part cannot be changed, I think you have two options here:
(1) Create a Full-Trust solution
(2) Create ... Read More

Hi,

I'm running the latest version of the spfx tool chain on a dev windows server 2012 box.

 

'All of a sudden' the gulp serve task stopped working if syntax errors were hit.

I'm getting a message '(node:18048) UnhandledPromiseRejectionWarning: Unhandled prom

... Read More
19 Views
0 Reply

I have created a few compliance labels from the Office 365 Security & Compliance portal. These have been successfully published to one of my SharePoint sites and I can apply it to document from the modern library UI. My understanding from the august 2017 CSOM release notes

... Read More
142 Views
6 Replies

It appears that you must ExecuteQuery even though the ComplianceTag class is not a ClientObject. The SPPolicyStore in the OP still fails. It is not clear to me what the d

... Read More

Hi All,

 

Tenant properties allow tenant administrators to add properties in the app catalog that can be read by various SharePoint Framework components. The tenant properties are managed by tenant administrators using the Microsoft SharePoint Online Management Shell

... Read More
234 Views
4 Replies

What will happen if the key already exists and we run the Set-SPOStorageEntity again ? Will it be overwritten or throw error ? 

Would be amazing if we could also have some

... Read More
The values for comments and description are interchanged at the moment. I have created an issue on github already, just wanted to warn the people reading here as well...

Hi

 

I've created an SPFx webpart and I'm struggling to add it to a group with a new name. I believe it's the preconfiguredEntries where I configure this. I've read the documentation here:

 

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/simplify-adding-web-parts-with-preconfigured-entries

... Read More
56 Views
1 Reply

Seven days and no one cares to respond?

 

I have followed the same steps as the OP with the same result. If anyone knows the answer, please share.

 

 

Read More

Hi,

I have short question. I use Apply-PnPProvisioningTemplate to update new site. And everything works perfect except one think. My client has lists which has been customized with InfoPath. 

And when I apply template to new site I get everything except tho

... Read More
64 Views
3 Replies
As far as I know they are not included in the PnP template scheme and therefor not included in the templates.
Best Response

Is there currently method, or is there a method planned to programmatically update SPfx solution instances?

 

Consider the following scenario:

 

A SPfx solution with version 1.0.0.0 is uploaded to app catalog and deployed; suppose it includes a web part.  (No

... Read More
53 Views
1 Reply
Short answer, no there is no way to do this today but yes, it's coming. I wrote a post on a big summary of all the things coming to SPFx this year... what you're looking ... Read More
Best Response

This seems like a simple question but I haven't found THE answer on the internet so far. To me it is a bit confusing.

 

I have a kind of strait forward SPFX project. No react and no Angular. But for the UI I would like to use the Office-Fabric-UI components

... Read More
82 Views
2 Replies
You can use the raw CSS, it's a project called Office UI Fabric Core. If you want interactive components, they have only been implemented by Microsoft as React components... Read More
Best Response

Can someone help met out?

 

Thanks a lot, Mike

I am trying  to display the calendar with headers as Sun, Mon, Tue rather than Sunday, Monday, Tuesday.However, whenever next and prev is clicked, it comes back to default. 

 

So i have applied the script in the console to check ; its for nextbutton(first l

... Read More
57 Views
2 Replies
Wait for the body to be loaded, then check for the element to be ready and do you change. If the element is not ready yet, set a timer, and redo the check.

I am trying to query a document library from a other sharepoint site (Not a Subsite) in the same tenant, but not able to find a way

I can query as follows to retrieve from the current sharepont site context. Is it possible to query from other sharepoint si

... Read More
69 Views
2 Replies

If the site (SPWeb on the other site collection) is with the same hostname it can be requested.

A web object should be created using `let web = new pnp.Web('https://host/s

... Read More
You should be able to specify which site you want to connect to - this is what I found:
var w = new $pnp.Web("{Site Url}");
in the Basic Operations page:
https://github.com/SharePoint/PnP-JS-Core/wiki/Basic--Operations
... Read More

Hi good day,

 

Is there a way I can programmatically deploy a custom sharepoint webpart  to sharepoint online? Maybe using CSOM in C#? Thanks for you usual help

 

Regards

184 Views
4 Replies

Are there any updates on this?  It seems like you can more or less easily upload items to the app catalog.  However, how does one accomplish the "deploy" action that occu

... Read More
I probably just need a way to use C# to upload the package .sppkg. Is that possible? If yes how do I do it?

dears 

I have new server of sharepoint 2013 and when tried to create or modify existing view i got error " cannot complte this action 

note: the url retirect on servername/_vti_bin/owssvr.dll?cs=65001

same senario hapens when tried to enable the list version

... Read More
24 Views
0 Reply

I have scaffold-ed an spfx webppart project. But I am getting the following errors on compilation:

-> Cannot find module 'ToDoWebPartStrings'

-> Cannot find module './ToDo.module.scss'

-> Accessors are only available when targeting ECMAScript 5 and higher

->

... Read More
31 Views
0 Reply

 

SharePoint Patterns and Practices (PnP) - SharePoint Framework and PnP JS Core Special Interest Group (SIG) bi-weekly call recording from the 12th of October meeting is now available from PnP YouTube channel at http://aka.ms/sppnp-videos. The presentat

... Read More
590 Views
1 Reply

Thanks for posting you are a fast editor ;-) great content!

Hi,

Is the SP.FieldType enumeration defined somwher in spfx? Would be nice to be able to chose a renderer based on the fieldtype we get back from the rest api ("SP.FieldText" or "SP.FieldLookup")

Thx

 

Read More
39 Views
0 Reply

I have a woking example where I map (rest) search results to an object like this:

 

export interface IReactGetItemsState{  
  items:[  
        {  
          "EmployeeName": "",  
          "EmployeeId": "",  
          "Experience":"",  
          "Locatio
... Read More
92 Views
4 Replies

An example...

 

var reactModule = React.createClass({
getInitialState:function(){

},
render: function() {
return (
<div>
... content here
</div>
);
},
componentDidMount: function() {

... Read More

Does any one tried to update the Multi User field value using Rest API. I am not able to set the value and I always get the following error if I try to set multi user field value: 

My request body is like this:

{"articleDate":"2017-10-27T22:00:00.000Z","art

... Read More
39 Views
0 Reply

 

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

... Read More
1,850 Views
1 Reply
One of the customizations that we would include in a Site Design would be to associate some custom Content Types with a Document Library. However, these Content Types com... Read More

Hi

 

I'm trying to use jQuery scroll in a webpart. I'm finding that the event does not look like it's being triggered. To investigate this, I put the following at the bottom of the render method, before the closing brace.

 

$(window).scroll((): any => {
  ale
... Read More
47 Views
0 Reply

Hi! I have developed a ListView Command Set extensions and now i want to deploy it in a customer tentant. tentant scoped (without th need to add it as an app)

The customer has many list where i would like to add it and i also want to add it programtically

... Read More
46 Views
0 Reply

 

This is the recording of SharePoint Dev Ecosystem / Patterns and Practices (PnP) community call from Tuesday 10th of October 2017. PnP monthly community calls are for covering latest updates in the SharePoint Dev Ecosystem, including latest videos, doc

... Read More
921 Views
0 Reply

Hi all,

 

 I am trying to update a list item with taxonomy field value in modern pages from my spfx webpart. I am getting 204 as response and no error but in the background it is not really saving the taxonomy field value but a new version of the item is ge

... Read More
41 Views
0 Reply