Changes the channel of the given location to the new channel.
Syntax
Smartsite SXML | Copy Code |
---|---|
locator url.setchannel(locator location, string channelCode) |
Parameters
Name | Data Type | Description |
---|---|---|
location | Locator | The location url. |
channelCode | String | The new channel for the location. |
Return Value
Data Type | Description |
---|---|
Locator | Url with the new channel. |