References
material
summary | ||
public |
File upload button. |
|
public |
A material-ui Table with sorting and filtering. |
|
public |
Material-ui SelectField extended with an info field. |
|
public |
Material-ui TextField extended with an info field. |
|
public |
C Label Default styles:
|
|
public |
Default styles:
|
|
public |
AutoComplete search for person. |
util
summary | ||
public |
F readFileToString(file: File): string Get the content of a File object. |
|
public |
F respToJson(response: Object): Objcet Convert fetch result to json |
|
public |
F shallowEqual(objA: *, objB: *): boolean |
util/sp
summary | ||
public |
F addExecuteQuery() Adds an executeQuery function to the SP ClientContext that calls the executeQueryAsync function and returns a promise. |
|
public |
F deleteItem(list: string, id: string): Promise<number> Deletes an item from a list. |
|
public |
F deleteListItemFile(list: string, id: string, filename: string): Promise Delete file from list item attachments. |
|
public |
F fetchViewer(prefix: string): Promise<Object> Get the currently logged in user. |
|
public |
Fetches an item by id from list. |
|
public |
Fetches a list. |
|
public |
F getAvatarUrlByEmail(email: string): string |
|
public |
Save or update an item. |
|
public |
F searchPerson(searchText: string, options: Object): Promise<Object[]> Search for persons in SP using clientPeoplePickerSearchUser. |
|
public |
F uploadFile(file: File, filename: string): Promise Upload file to project Documents |
|
public |
F uploadFiles(files: Object[]): Promise Upload list for files to project Documents |
|
public |
F uploadListItemFile(list: string, id: string, file: File): Promise Upload file as attachment to a list item. |
|
public |
F uploadListItemFiles(list: string, id: string, files: Object[]): Promise Upload list of files as attachment to a list item. |