5
votes
Crawled Properties missing in Powershell but show in Central Admin
For SharePoint 2016 you can take implicit search crawled properties through Search Service Application proxy.
$crawledPropertyName = "Crawled property name"
$searchApplicationName = "Search ...
4
votes
Accepted
Update Document Properties using C# - SharePoint Online
Try Following code
foreach (var file in dropOffLibrary.RootFolder.Files)
{
context.Load(file, f => f.ListItemAllFields);
context....
2
votes
Accepted
Properties of Team Sites and Publishing Sites
So you can go to List/Library setting and enable content type management from advanced setting of the same.
2
votes
Accepted
Crawled Properties missing in Powershell but show in Central Admin
Properties you see in Central Admin are called "implicit".
They are not created in corresponding table in Search database yet (actually, I couldn't even find, where they are stored).
In your case, ...
2
votes
How to filter a document in document library based on file properties using caml query?
Something like this:
query.Query = @"<Where><And>
<Contains>
<FieldRef Name='" + MyTaxonomyFieldName + @"' />
<Value Type='...
1
vote
Accepted
How to get current page properties in SharePoint page using c#?
First add Microsoft.SharePoint.Publishing; reference to your solution
SPWeb web = SPContext.Current.Web;
PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web);
PublishingPageCollection ...
1
vote
Accepted
Prevent Web Part Apply/OK based on Custom properties
You can do something like this:
string listName = null;
[WebBrowsable(true),
WebDisplayName("List Title"),
WebDescription(""),
Personalizable(PersonalizationScope.Shared),
...
1
vote
Accepted
No Image Tags column in my new document library. Why?
Image tagging feature uses AI to generate tags based on recognizable objects and features in the images.
Some things to consider:
It can take a while to deploy after you upload the image. ~1/2 hour
...
1
vote
Error message when setting document properties
Do you have a workflow associated with Document Set?
If true, please uncheck "Automatically update the workflow stat to current stage name" in SharePoint designer:
Similar issue:
"The ...
1
vote
Accepted
How to upload document and update properties in one go using C#
Actually, this is by design.
Using Update() method, Version1 is to create the uploaded file item and Version 2 is to update the metadata column.
Using SystemUpdate() method, it won't update Editor ...
1
vote
Created columns are not showing in the page detail form of web page in SharePoint Online?
Ok, I found out an answer.
Creating custom properties works only with parent web site. Maybe I made an error when I created a subsidiary web site (yes, I forgot to mention it in the question, I hadn'...
1
vote
What is the difference between document properties and metadata?
Document Properties:
Document properties, also known as metadata, are details about a file that describe or identify it. They include details such as title, author name, subject, and keywords that ...
1
vote
to save to the server, correct the invalid or missing required properties
I cannot reproduce your issue. Please narrow down your issue as following:
When you edit the existing document properties, whether the required property still remains as required?
Leave the required ...
1
vote
REST API, access document library's document properties
Googling got the resolution by appending the property name at the end of the URL
URL:
http://websitename/_api/web/getFileByServerRelativeUrl('/root/test%20doc%20for%20PDF.pdf')/ListItemAllFields/...
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"
...
1
vote
Upload document dialog box trimmed
Form fields may be hidden in EditForm.aspx of library. Navigate to EditForm.aspx page and append your item ID
For example https://your site Url/libary name/Forms/EditForm.aspx?ID=Item ID
Edit that ...
1
vote
Can I get Last write time of a file in SharePoint via Powershell?
Try following
$url = "http://myserver/sites/mysite/shared%20documents/myfile.xlsx"
$web = Get-SPWeb http://myserver/sites/mysite
$file = $web.GetFile($url)
$lastWriteTimestamp = $file.Item["Modified"]...
1
vote
Inserting barcode into document when it creates
See Discontinued features and modified functionality in Microsoft SharePoint 2013:
Insert Barcode command is no longer available on the ribbon. The
functionality of requiring SharePoint generated ...
1
vote
Accepted
'System.UnauthorizedAccessException' when accessing AllProperites if elevated web
Your membership provider may be loaded by the SharePoint Web application itself, running in the SharePoint pool's identity. This identity has obviously full access to all site collections in the Web ...
1
vote
Custom properties for app part
Change RequiresDesignerPermission to false.
<Property Name="challengeid" Type="string" RequiresDesignerPermission="false" DefaultValue="challengeid" WebBrowsable="true" WebDisplayName="challengeid"...
1
vote
How to display Title field as editable in Edit Properties
Go to Library Settings.
Go to Advanced Settings.
Click "Yes" radio button for the field "Allow management of content types"
Click OK button.
This should bring you back to the Library Settings page. ...
1
vote
How to modify Author field of ListItem
Update Author and Editor at the same time for the first version only or Final file without versions.
if (firstVersion || noVersion)
{
authorUserName = ((FieldUserValue)liSource["Author"]).Email;
User ...
1
vote
SPO Retrieve HasUniqueRoleAssignements property using Powershell
You can use C# code in PowerShell scripts with Add-Type cmdlet:
Add-Type -Language CSharp -ReferencedAssemblies @("$PSScriptRoot\Microsoft.SharePoint.Client.dll", "$PSScriptRoot\Microsoft.SharePoint....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
properties × 169web-part × 22
sharepoint-online × 20
document-library × 20
2010 × 17
2013 × 14
development × 14
sharepoint-enterprise × 11
powershell × 11
document × 11
list × 10
metadata × 9
sharepoint-server × 8
search × 8
javascript × 7
2007 × 7
content-type × 7
custom × 7
client-object-model × 6
word × 5
file × 5
updatelistitems × 5
spweb × 5
permissions × 4
rest × 4