New answers tagged

0

Below are some methods using REST API which can be used to get View columns. Please note that this method is being written to be used using SharePoint hosted Add In, if you are using agains SPFx you just have to modify to use it against spHttpClient .But below code will give you logic an how to get columns against as List view. If you already have view ID, ...


0

Sample code for your reference. private loadLists(): Promise<IPropertyPaneDropdownOption[]> { return new Promise<IPropertyPaneDropdownOption[]>((resolve: (options: IPropertyPaneDropdownOption[]) => void, reject: (error: any) => void) => { this.context.spHttpClient.get(`${this.context.pageContext.web.absoluteUrl}/_api/...


0

This kind of behavior usually happens if there is a discrepancy between the property name in your Web Part properties and the property field. For example, if you spelled it differently, uppercase/lowercase, etc. I've been a victim of this issue several times. Now I double-check that I have spelled everything correctly when I create the property and I don't ...


0

Vinit, There isn't anything available out of the box yet, but there is a "patterns and practices" (PnP) solution that you can find at: https://github.com/SharePoint/sp-dev-solutions/tree/master/solutions/MultilingualPages It allows you to create multi-language page equivalents, and automatically redirect users to a page that matches their language. I ...


Top 50 recent answers are included