New answers tagged

0

You simply need to add a Script Editor or a Content Editor webpart and add the following script (QCB1_Button4 should be the id of the button, but this may change, check with F12 in browser): <script type="text/javascript"> function hideEdit() { var edit = document.getElementById("QCB1_Button4"); edit.style....


0

This is really more of a work-around, and arguably a better solution, than an answer to the actual question: private async Task<List<File>> FindAsync(ClientContext clientContext, KeywordQuery keywordQuery) { ClientResult<ResultTableCollection> results = new SearchExecutor(clientContext) .ExecuteQuery(keywordQuery)...


0

Try to enable custom script for a SharePoint Online site collection. Connect-SPOService -Url https://tenant-admin.sharepoint.com -credential Set-SPOSite -Identity https://tenant.sharepoint.com/siteurl -DenyAddAndCustomizePages 0


1

From the error msg, it indicates a curl receive an error of CURLE_RECV_ERROR which means there was some issue that prevented the data from being received during the cloning process. Typically this is caused by a network setting, firewall, VPN client, or anti-virus that is terminating the connection before all data has been transferred. Another possible cause ...


0

PNP will (should) make your live a lot easier ? I use PNP js, but there is a nuget package for C#. If that works as the .js modules work it's quite easy to connect to SharePoint https://github.com/pnp/pnpcore


1

It depends on what tools you will use to connect to SharePoint, Either of below you can use to connect, PowerShell : There is a list of command lines ready to use, we have sp powershell and pnp SharePoint rest api , 1 option if you intend to connect via client side browser Hope it helps! Happy SharePointing!


1

SharePoint Online uses claims based authentication, basic Auth would not work for SharePoint Online. You could refer to here for more: Make a RESTful API Call to SharePoint Online from Console program


1

In the string https://example.sharepoint.com/sites/DevelopementTestingSite/Shared Documents/Forms/DispForm.aspx?ID=43, you could get the file by the id. Then copy to the folder. My test demo code : Web web = ctx.Web; List list = web.GetListByTitle("Documents"); // ctx.Load(list); //ctx.ExecuteQuery(); ListItem ...


1

I wrote a console app, you may take a reference: using Microsoft.SharePoint.Client; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Security; using System.Text; using System.Threading.Tasks; namespace TeamifySharePointClassicSite.CsRest { class RestCs { static void Main(...


2

You won't be able to do it without CDS. The state of Flow and approval are managed in CDS and data spreads across multiple entities. This is not easy to understand but if you give enough time you may understand it. Having said that I came across entities that cannot be edited by user (I am still working on this part) These entities manage all complex and ...


0

In fact the dialogue uses the Internet Explorer cache and cookies. If you clear them, the web login should ask again for a user (you need to reopen the PowerShell instance). Another approach is to use the parameter SPOManagementShell instead of UseWebLogin. This does not allow you to pick from "cached" logins though. BR


0

Trust me it has worked. Attached a screenshot from a Word file from Dec 2017. It shows the properties in the docx file. The other screenhots shows the column values after uploading. We looked into using this functionality but it was too limited (needs matching column names, PDF's not supported, ..) and ended up using a 3rd party tool. Paul


1

It is possible but not for all the properties, depending on the version of Office Client you are using and if the columns can be recognized by SharePoint. Most properties in the word document can be synced to SharePoint library as long as you have a corresponding column set in SharePoint. It can either be set the document content type, or the library itself. ...


1

I can see that there are some problems with parentheses in your formula. Try this: =IF(ISBLANK([Mobile Number]),"", IF([Country Origin] = "US", TEXT([Mobile Number],"(000) 000-0000"), IF([Country Origin] = "Australia", TEXT([Mobile Number],"+61 (00) 0000-0000"),"")))


0

Yes, this is done via the property promotion mechanism. Make sure the content type used for documents contains columns with exactly the same name. Uploading the Word files will then populate the columns. Please be aware off: This will only work for Office and tiff files. If folks start downloading Office files from one site and uploading the file into ...


1

01/01/0001 00:00:00 is a blank date. You need to add context.ExecuteQuery() after regionalSettings.TimeZone.UTCToLocalTime(itemversion.Created).Value to submit the convertion operation. // timezone var spTimeZone = context.Web.RegionalSettings.TimeZone; //context.Load(spTimeZone); //context....


0

This worked for me. public static void ConvertUtcToSPRegionalSetting() { string sitrUrl = "http://abc.sharePoint.com/sites/AZV"; using (var context = new ClientContext(sitrUrl)) { Microsoft.SharePoint.Client.TimeZone sharePointTimeZone = context.Web.RegionalSettings....


Top 50 recent answers are included