Home

SharePoint Developer

797 Conversations

Latest Activity

Custom List Message Item

I'm looking for a solution that leverages JSOM and a Managed Metadata Termset to provide global, cross-site navigation. I've seen a few solutions, but I'm wondering anyone has an end-to-end solution available as I'm not that great with JS :-) I'm not look

... Read More
57 Views
3 Replies

just some thoughts on the topic, and you should be able to find some existing solutions
https://techcommunity.microsoft.com/t5/SharePoint-Developer/SharePoint-Site-Global-Navigation-Mega-Menu/m-p/15931#M505

Read More

I am trying to come to grips with the best model for creating a template/layout for custom modern pages.

 

For example, in classic Publishing pages, we could create page layout templates that included default web parts and layouts.  This would allow users t

... Read More
24 Views
0 Reply

Are there any special considerations for PNP Provisioning of Lists when using Enterprise Content Types? I see that I can use PNP to create the content type in the Content Type Hub by getting a reference with:

Get‑PnPContentTypePublishingHubUrl

Then I can Pu

... Read More
73 Views
2 Replies

Good question at the moment i am removing things from contenttype hub and move it in to 1 site if needed.

Have not yet tested this functionality. But i imagine that when y

... Read More

HI Team,

 

We have developed a form that writes data to a SharePoint Online List using Provider Hosted App MVC and deployed as an App part in SharePoint Online. But in few of the user machine we have notoced an typical error, which says - "This site says -

... Read More
92 Views
4 Replies

We created Office 365 Germany subscription and tried to install SharePoint Add-ins from SharePoint store. We were able to in install none of the available add-ins from the store. All of them throw this error:
"Everything is fine, but we had a small problem

... Read More
80 Views
2 Replies
Interesting scenario, I don't see how the issue could be related to the fact your tenant is hosted in Germany but it's also true that Office 365 in Germany is being manag... Read More

Hi,

 

We have huge on-prem SharePoint 2010 Farm setup, planning to move them slowly towards cloud. Choosed O365 for hosting SharePoint sites and Azure for hosting all custom business logics in the form of Web App, Web Job, Web Hook, Web API... but at the sa

... Read More
20 Views
0 Reply

Hello,

 

I need obtain information from a list using next call:

$url="http://myhost/_api/web/lists/GetByTitle('mylist')/items?$select=Title,CurrentYear&$filter=CurrentYear%20gt%202019"
$webclient = new-object System.Net.WebClient
$webclient.UseDefaultCredent
... Read More
92 Views
3 Replies
I would recommend to use CSOM....it's not an option for you?

Is there a way using the PnP provisioning engine, to apply configuration to all lists of a particular template type in a site? i.e. I have a specific configuration that will apply to all document libraries in a site. As far as I can see all list instances

... Read More
128 Views
4 Replies

I would recommend a different approach.

 

Instead of trying to apply your changes with one call to the template, add a parameter to the template for the list name and use t

... Read More
Best Response

You could create a extention to your pnp project which genericly changes the settings of your lists.

As of yesterday, I noticed that new communication sites I created had NoScript enabled by default. This was not the case a few weeks ago when I wrote this post:

 

https://dannyjessee.com/blog/index.php/2017/07/sharepoint-online-modern-team-sites-are-noscript-sites-but-communication-sites-are-not/

... Read More
38 Views
0 Reply

Hello.

 

I have js file and d.ts file of some third party library that could not be installed through NPM installer.

I tried to integrate this package within Typescript-based Sharepoint Framework’s Web Part project but didn’t succeed.

I need a help and, if po

... Read More
91 Views
4 Replies

What library is it? What problem are you having? How are you trying to integrate it in your project?

why not try using the CDN instead of installing...?

Hi,

how to run share point context as admin access (or) "Run with Elevated" privileges using Rest API?To fetch or Update list items using client context.

47 Views
1 Reply

We can create one group on site, give full access permission to that gorup  on site.

Add specific user and fetach data from that group. 

Or check the below link.

https://social.technet.microsoft.com/Forums/en-US/186a7458-6565-4dd9-89d6-f169c1c00122/rest-api-for-sharepoint-online-with-elevated-privileges?forum=CloudSSA

... Read More

We run into quite interesting issue. When you use REST API and want to filter results using ContentTypeId in document library, e.g. $filter=startswith(ContentTypeId, ‘0x0120’), it works well until number of document reaches 500 items. Than you get 0 resul

... Read More
70 Views
2 Replies

There might be a threshold limit for `starts with`. Have you tried to get more with paging. Something like:

 

Get the first 400:

 

$filter=startswith(ContentTypeId, ‘0x0120’)
... Read More

Just have some findings to share regarding SPFx, after deploy the SPFx into App Catalog and include it into site, a new site feature has been identified as below:

 

feature.PNG

Just out of curiosity, is this new SPFx actually provisioned by site feature activatation?

Read More
109 Views
1 Reply

Yes, that is correct. If you follow that tutorial you can find that your SPFx solution can provision assets that are also part of the feature. You can even find the featu

... Read More
Since communication sites have lit up we've seen problems with the pnp adding modern web parts to page. In particular corrupting the page with a non numeric index or the first section (since the current code doesn't support sections) only working with ima... Read More
67 Views
2 Replies

AFAIK, Manually adding the web parts to a page through the standard SharePont interface is the only way.

 

You even find that uploading a page (other than adding a new one

... Read More

We had a couple of internal users report this issue today using an SPO site they had no problems with before.

What is the SPFx loader, and how do we resolve it?

70 Views
2 Replies

HI @Andrew Warland,

 

Is this consitently happening for the users that have this problem? Or does it happen every now and then for some users?

 

there are a few other's with

... Read More

Please help us to help you by providing us input around different challenges or gaps you are encountering with SharePoint Framework. 

 

  • What are the capabilities which would help you to adopt the modern SharePoint development practices?
  • What functionalit
... Read More
243 Views
9 Replies

@Vesa Juvonen, do you know if there will be any good "SPFX for dummies" going on at Ignite?  I'm thinking something like a session to walk users (non-traditional-develope

... Read More

Excellent question, wonderful to be asked.  I'm a little late to the party, I know, but here are my thoughts:

 

//What are the capabilities which would help you to adopt th

... Read More

Just checked the blog post below from Stefan Bawer and I think it would be nice to have the yeoman generator asking the question and adding the file to the project automa

... Read More
Not a true developer, nor expected to be. Knowledgeable enough to use "basic" technologies like HTML, CSS, JavaScript to complete simple solutions (typically done in a sc... Read More

The first major thing that comes to mind is the version of react used: 0.X.X

Any plans on upgrading the yeoman generator to a most recent version, or at least provide a ea

... Read More

I am trying to call /_api/_search/postquery from a modern Script Editor web part, and I am getting this error:

 

VM6497:86 {"error":{"code":"-2130575251, Microsoft.SharePoint.SPException","message":{"lang":"en-US","value":"The security validation for this p

... Read More
66 Views
3 Replies
Well, magically, I come in today, and now this is working as it should. Not sure why it wouldn't work yesterday.

I've found that if I make POSTs from a different site (or site collection) than the REST URL target, my on page RequestDigest won't do. I need to grab a fresh one from th

... Read More
Best Response
Hi,
 
We're testing that our product properly supports SharePoint 2016, but we're having a problem with queries.
 
We've been using the REST API to retrieve the items from a list, filtered by type, as follows:
{server}/_api/lists(guid'29ca29ac-d10e-4285-9a80-9
... Read More
352 Views
5 Replies

@Gina Bolognesi just following up if my previous post was helpful?

Hi Gina,

 

So I think you'll need to modify your REST query just a bit.. 

 

In order to get the ContentType name you'll need to select it with $select=ContentType/Name&$expan

... Read More

My current project uses jQuery and sp-pnp-js, and I have moved these to a document library in a "cdn" site collection in my tenant (it's not a *real* CDN, I just call it that -- it really is just a document library).  This has worked pretty well so far:

..
... Read More
184 Views
10 Replies

You don't need to do this. What you're looking at is a project created an older version of the SharePoint Framework, where more packages have been listed as external. In

... Read More
Best Response

Sorry, I don't know the answer to your specific question, but you may be interested in using a real CDN that MS recently announced support for, see https://dev.office.com/blogs/general-availability-of-office-365-cdn

... Read More

Hi everyone,

 

I need your help.

 

I have web service on Azure. I'm making AJAX call to it from SPO (CORS implemented). If there is no authentication everything is fine. But then when I turn on AAD authentication for web service then it's not working and I ge

... Read More
93 Views
3 Replies

Hi SharePoint Developers,

 

We're working hard on making modern lists and libraries more extensible.  One feature that we're working on right now is a SharePoint Framework component that allows you to customize the rendering of fields inside modern list v

... Read More
1,183 Views
23 Replies

Please allow the calendars to display tasks with conditional formatting.
Thank you very much

Is this the right room for the old Calculated column HTML render trick?

 

It was lovely being able to dynamically render a JS button or an HTML link in a SharePoint column

... Read More

Hello Lincoln,

Thanks for the great efforts of checking the community for the featuresand ensuring supporting the most prevalent scanarios in the modern UIs.

 

In my shop we

... Read More

Hi there,

 

Ability to trigger async refresh of a view would be much needed. For example clicking an action on a list item opens a dialog and on dialog close you need to lo

... Read More

Dont't forget to include promises for getting field value when saving, e.g. on saving I need to get other field value and then recalculate using values from other list.

 

T

... Read More

Hi,

Can any one suggest best practices to be followed to extend sharepoint 2016 intranet sites to be accessible in internet and mobile?

76 Views
1 Reply

Hi,

there is a solution in PnP which shows some patterns to make a mobile, multi language intranet:

https://github.com/SharePoint/PnP/tree/master/Solutions/Business.StarterIntranet

... Read More

I need make CSOM call, when I new a context, I need the site url. But I only have list document url, such as 

https://XXX.sharepoint.com/teams/AAA/Shared Documents/

 

Should I remove last "Shared Documents/" to get site url ? Thanks.

Read More
199 Views
10 Replies

SharePoint list/library url is basically adding the library name to the site url and in your case  it is like

 

Site URL https://XXX.sharepoint.com/teams/AAA/

 

Document Libr

... Read More
You can get site url by "_spPageContextInfo.webAbsoluteUrl" also. I think it would be easy for you. No need to make a CSOM call for that.

Yes , you are correct, after removing /shared dodument/  you will get the site url.

Hi all...

 

Hopefully someone can help me out here. I have a custom form on an SP Page that I need to use for filtering list items that have been returnd via a REST call and are being displayed in a table using Office Fabric UI.

 

Form Fields are: Title, ID,

... Read More
59 Views
1 Reply

I am trying to build an SPFX WebPart with React Office UI Fabric. I have a SharePoint list with a People field called AssignedTo. The lookup ID values are like 12, 20, and so on. When I select a person with the PeoplePicker, I get AccountName like i:0#.f|

... Read More
149 Views
1 Reply

A call to `api/web/ensureuser` using the SPHttpClient is needed. It ensures the requested user is loaded into the SharePoint site userinfo. Using the given `AccountName`

... Read More
Best Response