Page.getVarsFromURL (Method)
Returns a structure whose members include the requested fields from the page's standard metadata. If 'fieldList' is set to an empty string, CommonSpot returns all fields.
Returns:
Struct
Arguments:
Name | Type | Required | Description |
---|---|---|---|
pageURL | PlainText_NonNull | Required | A subsite-relative URL. CommonSpot uses the URL's file name when retrieving data. |
fieldList | PageResultFieldList_EmptyString | Optional. Defaults to an empty string. | A comma-delimited list of field names or an empty string. If this is an empty string, CommonSpot returns information on all fields. These fields describe page-related information. |
Context:
License Requirements | None |
Permission Requirements | ContributorOrServerCode |
Deny Context | None |
Require Context | None |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | This method may be customized at the site level |
Error Codes:
Code | Error Message |
---|---|
31010 | PageURL '$1' is not a valid CommonSpot page. |
Notes:
None