Posts

Showing posts from May, 2018

Map users in SharePoint Migration Tool with File Share option

Image
Map users in SharePoint Migration Tool with File Share option I am trying to migrate some files from my hard drive to SharePoint Online with use of SharePoint Migration Tool. I am able to migrate files but I was facing one issue. After migration done, it was showing local user name in document library instead of SharePoint User name. SharePoint Migration Tool allows user to map local system user with SharePoint Online user. SPMT site provide help in section “ Create a user mapping file for data content migration ”.  Here you have to create a csv file with 3 fields : Field 1 : In this field you have to entry SID of the user. SID means “Security Identifier” which shows like "s-1-5-21-875260305-3154316066-1125797638-1001”. You can get this SID from your server or desktop or laptop by using this simple command : wmic useraccount get name,sid You can find user by using filter: wmic useraccount where name="USER" get sid

Update existing site column properties with CSOM

Hi, Some time we want to update existing Site Column. Reason may be any thing i.e. I want to add more choices in Choice list & want to set default choice value as well. This is very easy in CSOM. Here is my default xml from existing site column : <Field Type="Choice" DisplayName="Office Location"     Required="FALSE" EnforceUniqueValues="FALSE"     Indexed="FALSE" Format="Dropdown"     FillInChoice="FALSE" Group="CustomColumns"     ID="{e57a1e08-f062-4b3c-9dc1-47ee2d0805b0}"     SourceID="{ad0c8572-a4b6-40c3-a359-d282eae885ce}"     StaticName="OfficeLocation" Name="OfficeLocation"     Version="2" CustomFormatter="">         <Default>Main Location</Default>         <CHOICES>             <CHOICE>Main Location</CHOICE>             <CHOICE>Head Quarter</CHOICE>             <CHOICE>Branch</C

The requested service, 'http://my-sp2016:32843/guid/AppMng.svc' could not be activated. See the server's diagnostic trace logs for more information

Hi ,   I was trying to add my custom apps in the SharePoint 2016 but it was throwing me this error : The requested service, 'http://my-sp2016:32843/guid/AppMng.svc' could not be activated. See the server's diagnostic trace logs for more information I have investigated & found the reason. Reason is more then 90% memory is consumed by SharePoint Solution is just kill some process which are taking unnecessary memories. To kill the unwanted processes , open task manager and select the process which is not useful then hit end task button.