Skip to main content
5 votes
Accepted

How to get site ID without access to central admin or powershell

Use the /_api/site/id REST Endpoint to locate the desired ID. Edit: /_api/site/id
Chris Fells's user avatar
4 votes
Accepted

How to create a new ribbon button? SharePoint 2013

It's actually very simple! :) You only have to duplicate the <Button tag and the <CommandUIHandler tag. Also be sure to duplicate the <ControlRef in the <Layout, or else the new button ...
Evariste's user avatar
  • 9,731
3 votes
Accepted

How to recreate a view by xml?

If you need to update via direct xml then use SetViewXml method of view. So your code would like this SPList list = web.Lists["Test"]; SPViewCollection collViews = list.Views; string strViewName = "...
Ahmad Zia's user avatar
  • 1,256
2 votes
Accepted

SharePoint Branding HTML Conversion

When they say that properties (should say attributes) need quotes they really mean it. So even an attribute with no value needs the equals and quotes. You need to change it to async="" data-main="...
Rothrock's user avatar
  • 3,010
2 votes
Accepted

Set Sharepoint online document columns filled by XML file

Solution 1 (Third-party - paid) If third party solution is feasible, use Simego data synchronization studio https://www.simego.com/solutions/sharepoint-integration. You can setup xml file location to ...
Ahmad Zia's user avatar
  • 1,256
2 votes
Accepted

SharePoint Online Add-In: Initialize List with DateTime Field: String was not recognized as a valid DateTime

Remove the Closed field from that XML Row and you will no longer get the error mentioned and it will be stored as an empty.
Pradip R.'s user avatar
  • 2,297
2 votes
Accepted

How to get webPart XML with powershell from SharePoint WebPart Gallery

To add Web Part from SharePoint WebPart Gallery to publishing page, the following PowerShell for your reference. $webURL="http://sp2013/sites/team" $listName="Pages" $pageName="Home" $webPartName="...
LZ_MSFT's user avatar
  • 6,219
2 votes

403 Forbidden on Web Service

To consume SharePoint Web Services from SOAP UI the request needs to be authenticated, here is how to specify NTLM auth for SharePoint 2013: click AUTH tab at the bottom of the request message ...
Vadim Gremyachev's user avatar
2 votes
Accepted

SharePoint O365/Online Default value for Person or Group field with XML or CSOM

Default values for People fields are not possible, either programmatically or via the UI. You could fake the effect via a Remote Event Receiver, Webhook, or possibly a Flow.
Derek Gusoff's user avatar
  • 8,036
2 votes

How to get ErrorCode value using jQuery from bellow SPServices xml response

If you want to iterate through the results looking for any errors, then use something like this: var xml = $($.parseXML( yourXMLstring )); var errors = xml.find("ErrorCode"); for (var i=0; i<...
Mike Smith - MCT's user avatar
2 votes

Should Document library versioning be enabled when storing XML files?

The benefits of versioning are the same no matter what type of file it is. You should use versioning when: The contents of the document are going to change, and You want to be able to have access to ...
Dylan Cristy's user avatar
  • 12.7k
2 votes

How can I put an external link using xml/xslt

I fixed it. I put: <xsl:attribute name="href">http://<xsl:value-of select="marca/@pagina"/><xsl:attribute> and it worked.
Lordpascal's user avatar
1 vote

whats difference between xml query with sql query?

I have no experience using XML query to create reports but a little using SQL query. So, from my unknowledge, I think the latter will be more effective and will have a better performance because of, ...
jaloplo's user avatar
  • 789
1 vote

SP Online: Can you map a crawled property to a refinable managed property using export/import or PowerShell?

As far as I know, sharepoint online only allow to import / export xml for these search mapping configuration, either via UI or powershell.
Alberto S.'s user avatar
1 vote

SP13: Custom Advanced Searching Web Part Options

You don't need a web part for this. You just need a simple form that can: Create a simple form that collects the information you desire Create a query string with the data Redirect the user to the ...
Matthew McDermott's user avatar
1 vote

Sharepoint XML export to Excel - can you convert?

Edit 1: With the image provided, it's not possible to make it as you want. Please, read my last comment. Well, you could create calculated columns in your list. These calculated columns would get ...
Sergio's user avatar
  • 608
1 vote
Accepted

how to create a calculated fields programmatically

You can not write the ID field, it is set by SharePoint after the Item is created in the SQL server database
Danny '365CSI' Engelman's user avatar
1 vote
Accepted

How to check in file in SharePoint using R?

Solution using R: library(XML) #put above xml in test.xml and pass on the path of this file to below xmlParseDoc() xml_doc = xmlParseDoc("test.xml") invisible(replaceNodes(getNodeSet(xml_doc, "//ns:...
Prem's user avatar
  • 126
1 vote
Accepted

How to deploy different files in single feature for mulitple subsites?

Don't do this by XML declarative code, but use a feature event receiver to implement anything you want with C# code: With the feature ER code, you can easily leverage the server-side API to connect to ...
Evariste's user avatar
  • 9,731
1 vote

Set no to Allow this site to appear in search results using XMl and c#?

It should be NoCrawl. <ListTemplate AllowDeletion = "TRUE" | "FALSE" AllowEveryoneViewItems = "TRUE" | "FALSE" AlwaysIncludeContent = "TRUE" | "FALSE" BaseType = "0" | "1" | "3" |"4" | "5" ...
Damitha's user avatar
  • 230
1 vote

Convert form to xml

Save the form locally and then change the extensions of the file to .cab. Then you should open this file and it will contain the XML files for the form. Then you can send the XML file.
belmer1416's user avatar
1 vote
Accepted

Using Values from an XML File as Variables in a Workflow?

Unfortunately, It's impossible to read XML file content using SharePoint Designer workflow. Note: you can create a data source from XML file using SharePoint Designer but you can't use it in ...
Mohamed El-Qassas MVP's user avatar
1 vote
Accepted

How can I Download/Access SharePoint Online Documents using PHP / XML / SOAP?

Well, after hours and hours of searching the Internet.... The answer was right in front of my nose. Started browsing through the examples/SharePoint/file_examples.php that came with the phpSPO ...
Asila's user avatar
  • 31
1 vote
Accepted

Pnp & remote provisioning : how to enable metadata navigation for a list or library via xml template?

In CSOM and hence in PnP guidance, there is no equivalent to MetadataNavigationSettings that we find in the Server Object Model 2013. But there is a hack available which via property bag using CSOM. ...
Gautam Sheth's user avatar
  • 30.9k
1 vote

Pnp provisioning : Provision a 2 List Webpart Page using jslink with xml template

For #1 - in the past I've tried different approaches without success. Finally as workaround I had to put script editor web part to the page with link to stylescheet and hided toolbar with css... ...
Sergei Sergeev's user avatar
1 vote

insert xml form into a splist as a multi-line text data type

Ensure that it a multiple line text column of type Enhanced rich text as below: I created a column using this and was able to add xml data as below. Below is screenshot of the item display form:
Gautam Sheth's user avatar
  • 30.9k
1 vote
Accepted

Sp Online and PnP and remote provisioning : create folders in custom Document Library

I've tried your template and everything works fine for me - folders are created (I deleted ContentTypeBindings since this content types don't exist in my environment). I can recommend the ...
Sergei Sergeev's user avatar
1 vote

Export ALL list items to xml and be able to Save as a File

You could create a custom solution/workflow that generates an XML document based on data pulled from a CAML query or by directly accessing the list. This would give you the behavior you are looking ...
Arin Zandbergen's user avatar
1 vote

Export ALL list items to xml and be able to Save as a File

If you want to have custom xml format as is in your image reference(by current software) you only have one option. Write custom code to query all items in list, loop through and create required format ...
Siddharth Vaghasia's user avatar
1 vote
Accepted

I cannot see my group in ribbon in list view form? XML

You should be aware of the registration ID value for Document Library code is 101 Generic list code is 100 This code is the template ID so you will apply your custom action for all list with this ...
Mohamed El-Qassas MVP's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible