Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

SFU​.getFormUrl()

  • Last UpdatedJun 25, 2024
  • 1 minute read

Use getFormUrl() method to get the URL, which can be used to navigate to a different form.

Note: This API is not supported in AVEVA Work Tasks Pro App.

Syntax

SFU.getFormUrl(formName,formVersion);

Parameters

Parameter

Description

formName

Name of the form that you want to navigate to.

The value must be a string.

formVersion

Version of the form.

The value should be string. If the value is set to blank, then the latest published version of the form is considered.

Note:
- Ensure that the form with the specified title and the version exists and is in the "Published" state.

- Folders are not supported for this API.

Return Value

This method returns the URL.

Example

// Get the form that has to be embedded in the current form.

var formsURL=SFU.getFormUrl("ApplicationForm1","1");

control.findByXmlNode("Embedpage1").url = formsURL;

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in