All Questions
Tagged with xmlpowershell
17 questions
1vote
1answer
1kviews
Programatically remove "custom xml data" from Office docs in SP?
In Word 2013, if you open a document there's an option to "Check for Issues" and this gives you the option to remove custom XML data. Is there a way to achieve this programmatically with powershell? ...
0votes
1answer
1kviews
How to modify the content of an xml file in SharePoint Online by powershell
I would like to fix some xml files seperated on multiple sites and document libraries in powershell. I have in a csv file the url of all these xml documents. So I already have some loop for each xml ...
1vote
1answer
2kviews
How to get webPart XML with powershell from SharePoint WebPart Gallery
I want to get web part XML from SharePoint Web Parts Gallery(not locally) for add webpart into a List page. This is my code: $spWeb = Get-SPWeb $webURL $spSiteCollection = Get-SPWeb -Identity $...
0votes
1answer
199views
Generate a excel with data from multiple lists?
we have a requirement , need to generate a excel report from multiple SharePoint lists(SharePoint 2013). can any one help on this what is the better approach to do or any reference URLs available. ...
0votes
1answer
805views
Exporting the site columns' xml schema will not show all the site columns properties (ShowInEditForm is missing on some columns)
I have sharepoint farm 2013 on-premises. i wrote the following powershell script to export all the site columns properties which are inside the "Custom columns" group. now i wanted to document the ...
1vote
0answers
391views
Lookup site column created using powershell will have an empty source list
I am working on a sharepoint server 2013 on-premise. and i run the following power-shell script to create a lookup column :- #Create site column from XML string $web.Fields.AddFieldAsXml($fieldXML) $...
1vote
0answers
344views
Add a link to display form on custom column using powershell?
I read several solutions that advice to use SharePoint Designer to modify the column xml definition. I would like to know if there is a way to do the same by using PowerShell. I have a really large ...
1vote
2answers
1kviews
How to modify XsltListViewWebpart XmlDefinition property using powershell?
I'm using Sharepoint 2010. I've looked and tested several methods to try to do what is describe in the title of this post, but none of them are working. In the best case, the so called attribute is ...
1vote
0answers
82views
I am unable to compile the audience targeting while creating a new rule by using powershell script and xml?
I am unable to Compile the audience targeting while creating a new rule by using PowerShell scripts and XML file. I selected SPS-location property. while complying It throws an error message An ...
1vote
0answers
772views
Reading Each XML Node in Powershell to create list in SharePoint
I have an XML file which I got from running webservices of below format. It contains each List name in the site collection under node. Now using this file I have to create lists in another site ...
3votes
1answer
2kviews
Update choice field SchemaXml using powershell
I want to change the choice field from drop down to MultiChoice. How to Update choice field SchemaXml using powershell. Also how to get SchemaXml property.
1vote
1answer
2kviews
Modify list item field using PowerShell
I have a list field that stores an XML string. I am trying to get the XML contents and modify a particular tag in the XML like so: foreach($item in $list.Items) { if($item["XMLField"].Contains("...
5votes
1answer
2kviews
Download RSS feed as xml file from Sharepoint Online using PowerShell
How it is possible to download xml file out of this feed (website) using PowerShell? I can authenticate with sharepoint using CSOM but do not what to do next. As service user is not administrator I ...
0votes
1answer
648views
Bulk creation of content page (in SitePages)
I have been asked if it is possible to do a bulk creation of a number of pages, into the "SitePages" folder on SharePoint 2013. I have seen some references on the web of how to achieve this via XML, ...
2votes
2answers
4kviews
How to retrieve the OOB Xml field with powershell?
In Sharepoint there are many OOB list with a field "Xml". For example, by running this: $url = http://sharepoint.domain.com $site = Get-SPSite $url $site.rootweb.lists["User Information List"]....