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 ...
user2944829's user avatar
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....
Akshay Belure's user avatar
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.
gachCoder's user avatar
  • 480
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, ...
Alex Burdin's user avatar
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='...
Mike's user avatar
  • 12.2k
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 ...
Mohamed El-Qassas MVP's user avatar
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), ...
Mohamed Derhalli's user avatar
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 ...
Martin Iszac's user avatar
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 ...
Julie_MSFT's user avatar
  • 4,227
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 ...
Jerry's user avatar
  • 2,583
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'...
Anna Popova's user avatar
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 ...
Ganesh Sanap - MVP's user avatar
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 ...
Hellofiona_MSFT's user avatar
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/...
shoab's user avatar
  • 673
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

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 ...
Sabitha S's user avatar
  • 339
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"]...
Atish Kumar Dipongkor's user avatar
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 ...
Aziz Kabyshev's user avatar
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 ...
Evariste's user avatar
  • 9,751
1 vote

Custom properties for app part

Change RequiresDesignerPermission to false. <Property Name="challengeid" Type="string" RequiresDesignerPermission="false" DefaultValue="challengeid" WebBrowsable="true" WebDisplayName="challengeid"...
Ronak Patel's user avatar
  • 3,261
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. ...
user54001's user avatar
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 ...
Michael Goldshmidt's user avatar
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....
Rustam's user avatar
  • 228

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