As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
_callScript: function FGLocationContraventions__cllScript() { this.actionURL = YAHOO.lang.substitute(Alfresco.constants.PROXY_URI + "/farthest-gate/fg-location-contraventions?noderef={noderef}", { noderef: this.selectedLocation.value }); Alfresco.util.Ajax.request( { url: this.actionURL, method: Alfresco.util.Ajax.GET, successCallback: { fn: this._loadOptions, scope: this }, failureCallback: { fn: this._getOptionsFail, scope: this }, scope: this, noReloadOnAuthFailure: true }); }, _loadOptions: function FGLocationContraventions__loadOptions(p_response) { // Do your stuff here }
this.actionURL = YAHOO.lang.substitute(Alfresco.constants.PROXY_URI + "/components/form?itemkind={itemkind}&itemId={itemId}&destination={destination}&mode={mode}&submitType={submitType}&formId={formId}&showCancelButton={showCancelButton}&htmlId={htmlId}", { itemKind: "node", itemId: fileInfo.noderef, destination:"destination", mode: "edit", submitType:"json", formId:"doclib-simple-metadata", showCancelButton:true, htmlid: this.parentId, }); Alfresco.util.Ajax.request( { url: this.actionURL, method: Alfresco.util.Ajax.GET, successCallback: { fn: fnFormLoaded, obj: this, scope: this }, scope: this, execScripts: true });