A sample JS to modify the list choice field options. var context = new SP.ClientContext.get_current(); var web = context.get_web(); var cldList = web.get_lists().getByTitle("Calendar"); var categoryField = cldList.get_fields().getByInternalNameOrTitle("Category"); var categoryChoiceField = context.castTo(categoryField, SP.FieldChoice); context.load(categoryChoiceField); ...

Read More

There are few ways to get FARM server where SharePoint Central Administration site is hosted. Using PowerShell cmdLets:- 1- Get-spwebapplication -includecentraladministration | where {$_.DisplayName -match "SharePoint Central Administration*"} | select DisplayName,Url The above cmdLet is good while you are trying to ...

Read More