private async void load(string url) { HMS.SP.RelatedFieldExtendedData spRelatedFieldExtendedData = await SPGet.getRelatedFieldExtendedData(spglb.myClient, url); this.add_RelatedFieldExtendedData(1, spRelatedFieldExtendedData); this.hide_running(); }
public int add_RelatedFieldExtendedData_deferred(int pos, int level, HMS.SP.RelatedFieldExtendedData spRelatedFieldExtendedData) { { string useUrl = spRelatedFieldExtendedData.__deferred_.uri; if (!String.IsNullOrEmpty(useUrl)) { pos = this.add_lineAt(pos, level, false, "RelatedFieldExtendedData", "", knownPages.pageRelatedFieldExtendedData, useUrl); } else { pos = this.add_lineAt(pos, level, true, "RelatedFieldExtendedData", "", knownPages.NONE, ""); pos = this.add_RelatedFieldExtendedData(pos, level + 1, spRelatedFieldExtendedData); } } return(pos); }
public int add_RelatedFieldExtendedData(int pos, int level, HMS.SP.RelatedFieldExtendedData spRelatedFieldExtendedData) { if (spRelatedFieldExtendedData.__HMSError_ != null && (spRelatedFieldExtendedData.__HMSError_.errno != 0 || spRelatedFieldExtendedData.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spRelatedFieldExtendedData.__HMSError_)); } pos = this.add__deferred(pos, level, spRelatedFieldExtendedData.__deferred_); pos = this.add__metadata(pos, level, spRelatedFieldExtendedData.__metadata_); pos = this.add__rest(pos, level, spRelatedFieldExtendedData.__rest); pos = this.add_lineAt(pos, level, "FieldId", HMS.SP.SPUtil.toString(spRelatedFieldExtendedData.FieldId_)); //Guid; pos = this.add_lineAt(pos, level, "ListId", HMS.SP.SPUtil.toString(spRelatedFieldExtendedData.ListId_)); //Guid; pos = this.add_lineAt(pos, level, "ListImageUrl", HMS.SP.SPUtil.toString(spRelatedFieldExtendedData.ListImageUrl_)); //String; pos = this.add_lineAt(pos, level, "ResolvedListTitle", HMS.SP.SPUtil.toString(spRelatedFieldExtendedData.ResolvedListTitle_)); //String; pos = this.add_lineAt(pos, level, "ToolTipDescription", HMS.SP.SPUtil.toString(spRelatedFieldExtendedData.ToolTipDescription_)); //String; pos = this.add_lineAt(pos, level, "WebId", HMS.SP.SPUtil.toString(spRelatedFieldExtendedData.WebId_)); //Guid; return(pos); }
public int add_RelatedFieldExtendedData(int level, HMS.SP.RelatedFieldExtendedData spRelatedFieldExtendedData) { return(add_RelatedFieldExtendedData(-1, level, spRelatedFieldExtendedData)); }