Questions tagged [office-365-developer]

An Office 365 Developer Site, customized for creating and testing apps that work with SharePoint Online, Office Online, Exchange Online, and more

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
35 views

Office 365 Developer tenant: automatic renewal

Quote from Office 365 Developer Program FAQ In April 2019, we transitioned to a new model where your subscription can be renewed perpetually every 90 days if you're actively using it for ...
3
votes
2answers
471 views

Frequent sites on SharePoint Online Home Page

Is there a way I can have "Frequent sites" on my website? Is this a webpart or SpFx component that I can add to any of my existing site? I would like below into my own site page. Digging bit more I ...
3
votes
0answers
39 views

Publish Office 365 add in on Office Store

Is necessity to deploy a office 365 add in on azure web app before publish to office store? I am using visual studio 2015 to develop outllook add in for office 365. But i am confused there why i ...
3
votes
1answer
74 views

Change navigation panel using in blog

How I can use this code: https://social.msdn.microsoft.com/Forums/en-US/e415413e-cb93-4534-93ed-d07870b38f3d/sharepoint-2010-blog-with-subcategories?forum=sharepointcustomizationprevious Code: &...
3
votes
2answers
630 views

Access Subsite list from root site using sharepoint hosted app

I've a SharePoint Hosted App and its deployed to Root site. Using that App, I need to read items of specific list from all sub sites of that root site. My current Code: var hostsuburl = "Subsite URL ...
3
votes
1answer
246 views

Limit the number of results while fetching from a folder using GetFolderByServerRelativeUrl() method in sharepoint online 2013

Currently I am performing a REST API call to fetch files and folders from a particular folder path(serverRelativeUrl) in Sharepoint online 2013. https://nextlabs.sharepoint.com/sites/vignesh/_api/web/...
3
votes
0answers
558 views

Need an API / C# Code to read Office 365 Usage Analytics

I am trying to get hit count of each item (i.e., How many peopled viewed each page). I am receiving the following error: An unhandled exception of type 'Microsoft.SharePoint.Client....
3
votes
3answers
3k views

Getting Calendar items on Office 365 using REST API

I am having trouble with a REST call using jQuery on Office 365 and was wondering if you guys have ever experienced something similar and could give me some hints? What I am trying to achieve is to ...
2
votes
0answers
394 views

Is the “ocws.officeapps.live.com” API used by the Office 365 start page open for re-use?

The Office 365 start page shows a list of recently used documents. The data is being fetched from https://ocws.officeapps.live.com/ocs/v2/recent/docs?apps=Word,Excel,PowerPoint,Visio,OneNote,Sway&...
2
votes
1answer
1k views

How to Send Email with Attachment in workflow

In SharePoint online, how to send email with an attachment through a workflow without using any third party tool?
2
votes
0answers
137 views

How to create context by using URL from list items?

I've a project main site and some sub sites of it. In the Main site I've list which contains URL of all sub sites. I need to create office app to retrieve the list items from all sub sites, do some ...
1
vote
1answer
67 views

Adding a listview web part - modern team sites

I need to add a list view web part with c# like below: My best guess is using PnP is the wat to go. I would think something like below is the first part (correct me if I am wrong): var page = ...
1
vote
0answers
20 views

Incremental Numbering appending to existing filename or in new column whenever new item is added in SharePoint Online

I require your assistance where I want to create auto incremental numbering to file and folder name where whenever a folder/file is added to library. Filename should get appended with incremental ...
1
vote
0answers
51 views

Unauthorized error on GetProvisioningTemplate

I have Provider Hosted Add-In and everything is working as expected but fails on 'web.GetProvisioningTemplate(creationInfo)'. it gives me below error The remote server returned an error: (401) ...
1
vote
1answer
470 views

SharePoint Framework ( SPFx) is it possible to create custom HTML page

Just started learning SPFx, so had many queries. First of all In SharePoint Framework ( SPFx) is it possible to create custom HTML page and make that as default landing page for add in. So that we ...
1
vote
1answer
93 views

How to site Provisioning in office 365 (SharePoint online) by Custom

I want to do site provisioning (Custom), not using pnp starter kit, all should be done by custom. I have custom list/ columns, custom look and content type. How to package and how to deploy on o365
1
vote
0answers
18 views

Custom Sharing Form

I need to add a Button which will have its own logic of creating and sharing a new folder. 1st the requirement: Click New > Click Create Folder (custom Button see image 1) The Custom Form appears ...
1
vote
1answer
148 views

Is it possible to have choice column in SharePoint list with hyperlink values?

I have one list, in that one choice column for that I have multiple values. I want to make all this multiple values as clickable. (means:each values correspond to some URL)
1
vote
0answers
97 views

Attachment Action is disabled in SharePoint ribbon for List Item Add in Office 365

I am working in Office 365 sharepoint online site. recently i created a custom list. I tried to create a new item for that list and wanted to upload a attachment also. For Iphone and Desktop ...
1
vote
0answers
42 views

Adding new options / editing the op

I was tasked with writing an add in for the default pages you make in SharePoint Online on the Office 365 page - the ones under "pagename.sharepoint.com/sites/...". I went over WeebHooks, Sharepoint ...
1
vote
2answers
706 views

How to get number of views count for post in Discussion List in SharePoint

I have a requirement where i need to retrieve and display view count for each post in discussion list and display it in a web part using JSOM. For example Post 1 has seen by 10 members then view count ...
1
vote
0answers
92 views

Changelog Filtering

My goal is to make a backup of the metadata on any SharePoint site whenever the document or its metadata changes. The change can be triggered by a save operation or an autosave in say the Word client ...
1
vote
0answers
73 views

Enabling SSO to Office 365 and Get Client Context to Other .Net Site Page

We have requirement to enable SSO in office 365 and get client context to other web page? Is it possible? How I can achieve?
1
vote
0answers
63 views

Minimal Office365 ASPX with Suitebar only, no MasterPage

I am no MasterPage wizard so after some trial and error wonder if MP Wizards have some better insights Objective is to create a ASPX with only to the Office365 SuiteBar Below gets me the SuiteBar, ...
1
vote
2answers
299 views

Error when creating List Fields, “Request failed. Value does not fall within the expected range”

Iam getting this error "Request failed. Value does not fall within the expected range" when i create list with choice Field/column and Taxonomy Field. Here is my code for creating the List, and then ...
1
vote
1answer
178 views

REST/Ajax code run without error but return no items

List already have 5 items. But Sharepoint hosted app with given code run without error but return no items. Strange! var hostweburl = decodeURIComponent(QueryString.SPHostUrl); var appweburl =...
1
vote
0answers
46 views

Embedding video into richtext editor Field gives an ERROR: Refused to display '' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

How can I embed Video's from my Office365 /Portal/Hub in SharePoint-hosted App-part. I am getting an error when I try to get the video or display video in my app-part, error message looks like: ...
1
vote
0answers
23 views

Root list lookup is not assigned properly in sub site list using client object model

I have one list Users on root site. and another list I'm creating using client object model in sub site. Users list is already created. I'm try to add Users list reference in sub site list but is ...
1
vote
1answer
123 views

Read/Update SharePoint admin center Settings

Is it possible to read or even update settings in the SharePoint Admin center via an API or CSOM. The section I would like to access is shown below, this is for SharePoint Online
1
vote
0answers
130 views

Maintain app id

I am developing an SharePoint Add-in (ex. app) from Visual Studio targeting Office 365. I've registered this app in Azure AD (there is app!) and on ReplyUrl I've wrote the url obtained when I first ...
1
vote
0answers
222 views

Redirect to another list on click of button inside InfoPath

I have InfoPath Form with SharePoint Security=Domain Security. Need to redirect on another List url on button click.
1
vote
0answers
989 views

Office365 REST API bad request while saving data to List

In a SharePoint hosted App am trying to save data to my list in Office 365 using REST API below is the code. The problem with this code is it works fine for less values passed (eg: my in my item I ...
1
vote
0answers
162 views

Office 365 APIs Add User using Office 365 API Tools - Preview

when call method await client.Users.AddUserAsync(newUser, false); then in view
1
vote
2answers
290 views

Share Point Custom Display Form not displaying data

In order to display the list column values in view mode, I have created a new custom form with type "Display Form" using Share-point Designer. When I open the file, I can see the code as (Attached the ...
0
votes
0answers
14 views

Is it possible to change the paging format in Listview Webpart in sharepoint online

I want to change the paging format of listview webpart like the image attached below. Any help would be appreciated. Thanks in advance.
0
votes
2answers
109 views

How to change content type of a lot of folders and subfolders at once?

I have a lot of folders and subfolders on my Sharepoint who's content type I want to change. Is there a way I can change the content type of several folders at once ? thank you
0
votes
0answers
9 views

Office Web AddIn with SharePoint connection

I am developing Office Web AddIn and would like to connect to SharePoint. Currently I am following below link to develop the AddIn. https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/...
0
votes
1answer
37 views

is there any way to add commas in long numbers using MS flow

I have a requirement like i have to add a comma in long numbers in the email body with the microsoft flow. I have googled it I couldn't able to find the proper solution. any help would be appreciated. ...
0
votes
2answers
27 views

How to hide the html of my master page in the other pages of the site in online sharepoint?

I have created a master page in online sharepoint and I have entered html code using sharepoint designer, the problem is that when I enter the other pages of the site, for example: '' Site settings '' ...
0
votes
0answers
87 views

Debug remote event receiver:- “Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException..localhost is not the intended audience”

I want to debug our remote event receiver for a sharepoint online site collection. and since the azure service bus appraoch for debugging RER is not supported anymore. so i am trying to use the ngrok ...
0
votes
0answers
17 views

How to check if a Wiki Page exists inside “Pages” library inside our remote event receiver

When working with server-side event receivers, I use the below code to check if a wiki page exists inside our "Pages" library or not, using GetFile() + SPFile.Exists:- DataTable currentTempletePages =...
0
votes
0answers
21 views

Call other users onedrive recent files from Microsoft Graph?

I want to develop a customized interface like delve. I am trying to call data using microsoft graph. I am able to get all recent flies for me but unable to get for others onedrive, even using SPFX app....
0
votes
0answers
39 views

Package SharePoint Provider Hosted add-in with Visual Studio Team Services

I would like to setup continues build and release for my SharePoint Provider Hosted add-in with Visual Studio Team Services. For now, I am using Visual Studio to publish the Add-in which generates "...
0
votes
0answers
146 views

Include Specific list in PnP Provisioning

I would like to use PnP Provisioning engine to clone list from one site to another. In order to do so, I would like to create provisioning template with just one list in it. When I use ...
0
votes
1answer
455 views

Read excel data via javascript

I have an .xlsx file that contains information I need to dynamically change a Sharepoint form. I figured the dynamic portion out myself using Javascript. I can't however seem te open the required ...
0
votes
1answer
54 views

click function to redirect when approved and rejected to different URL is not working

I have written this code for redirecting to a different site when Approved or Rejected it is working fine but I have a mandatory field in that task list and with out filling the mandatory field also ...
0
votes
1answer
89 views

Missing All SharePoint Components in Visual Studio 2015 Community

I had installed VS 2015 Community and in my Windows 10 PC,And after installation , When I open VS 2015 it is showing as "BLEND VISUAL STUDIO 2015" And even after installing tools from (https://www....
0
votes
2answers
1k views

GetItems (CamlQuery) does not return all columns in the SharePoint list/ document library with REST API POST Request

Required to get all column data with CAML query with GetItems REST API query since with the requirement of getting managed metadata term values. But its not returning all columns and values. Query as ...
0
votes
1answer
30 views

Office 365 SharePoint Hosted App. Removed App from all the pages after deployment

Office 365 SharePoint Hosted App. Removed App from all the pages after deployment. Is there any way we can preserve pages as it is. This is pain full activity to add app part again into to all the ...
0
votes
1answer
182 views

Facing Error while accessing SharePoint site list, The remote server returned an error: (401) Unauthorized

I am getting following error "The remote server returned an error: (401) Unauthorized." While I'm trying to read a website hosted in SharePoint. I have tried following code to access my ...