A schema is required to design templates and generate documents.
- Create a new document and start the REST Schema Discovery
by clicking .
- Specify the connection details in the following fields:
- URL: Specify the base URL for the resource.
- Authentication Type: Select the authentication
type from the list.
- User: Specify the user name if the resource
is on secure location.
- Password: Specify the password if the resource
is on secure location.
Note: For more information about the base URL
and the credentials, refer to the REST data source documentation.
- Click Next.
- In the Create a Resource window, specify
the details for the new resource in the following fields:
- Name: Specify a name for the new resource.
- Description: Specify a description for
the new resource.
- Relative path: Select the Manual
Entry option to specify a relative path manually for the
new resource or click Locate using data service to
locate the resource.
- To select the resources using the Locate using data service:
- In the left view, select an element in the XML schema tree.
- In Element attributes, select the href value from the attributes
list box.
- Click Next. The resource URL is displayed
for the selected resource.
Note: Either select the URL and click Finish,
or you can use the URL to locate the child resource.
- To use the URL to locate the child resource:
- Select the resource URL and click Next.
- Select an element in the XML schema tree from the left view.
- Select the href value from the Element attributes section and
click Next. The resource URLs for the resource
is displayed.
- Select the resource URL discovered by the data source.
- Click Finish.