private async void load(string url) { HMS.SP.ViewCreationInformation spViewCreationInformation = await SPGet.getViewCreationInformation(spglb.myClient, url); this.add_ViewCreationInformation(1, spViewCreationInformation); this.hide_running(); }
public int add_ViewCreationInformation_deferred(int pos, int level, HMS.SP.ViewCreationInformation spViewCreationInformation) { if (spViewCreationInformation.TitleResource_.uri == null) { pos = this.add_lineAt(pos, level, true, "ViewCreationInformation", HMS.SP.SPUtil.toString(spViewCreationInformation.Title_), knownPages.NONE, ""); //String; pos = add_ViewCreationInformation(pos, level + 1, spViewCreationInformation); } else { string useUrl = spViewCreationInformation.__deferred_.uri; if (String.IsNullOrEmpty(useUrl)) { useUrl = spViewCreationInformation.TitleResource_.uri.Replace("/TitleResource", ""); } pos = this.add_lineAt(pos, level, false, spViewCreationInformation.Title_, "", knownPages.pageViewCreationInformation, useUrl); } return(pos); }
public int add_ViewCreationInformation(int pos, int level, HMS.SP.ViewCreationInformation spViewCreationInformation) { if (spViewCreationInformation.__HMSError_ != null && (spViewCreationInformation.__HMSError_.errno != 0 || spViewCreationInformation.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spViewCreationInformation.__HMSError_)); } pos = this.add__deferred(pos, level, spViewCreationInformation.__deferred_); pos = this.add__metadata(pos, level, spViewCreationInformation.__metadata_); pos = this.add__rest(pos, level, spViewCreationInformation.__rest); pos = this.add_lineAt(pos, level, "Paged", HMS.SP.SPUtil.toString(spViewCreationInformation.Paged_)); //Boolean; pos = this.add_lineAt(pos, level, "PersonalView", HMS.SP.SPUtil.toString(spViewCreationInformation.PersonalView_)); //Boolean; pos = this.add_lineAt(pos, level, "Query", HMS.SP.SPUtil.toString(spViewCreationInformation.Query_)); //String; pos = this.add_lineAt(pos, level, "RowLimit", HMS.SP.SPUtil.toString(spViewCreationInformation.RowLimit_)); //Int32; pos = this.add_lineAt(pos, level, "SetAsDefaultView", HMS.SP.SPUtil.toString(spViewCreationInformation.SetAsDefaultView_)); //Boolean; pos = this.add_lineAt(pos, level, "Title", HMS.SP.SPUtil.toString(spViewCreationInformation.Title_)); //String; pos = this.add_lineAt(pos, level, "ViewFields", HMS.SP.SPUtil.toString(spViewCreationInformation.ViewFields_)); //String; pos = this.add_lineAt(pos, level, "ViewTypeKind", HMS.SP.SPUtil.toString(spViewCreationInformation.ViewTypeKind_)); //Int32; return(pos); }
public int add_ViewCreationInformation(int level, HMS.SP.ViewCreationInformation spViewCreationInformation) { return(add_ViewCreationInformation(-1, level, spViewCreationInformation)); }