URLShortener.saveParams (Method)

Save the parameters required by the URL shortening service.

Returns:

URLShorteningServiceID (integer)

Arguments:

Name Type Required Description
id URLShorteningServiceID Required The ID of the URL shortening service.
params Struct Required A structure defining the URL shortening parameters to save.

Context:

License Requirements SocialMedia
Permission Requirements site:ManageSocialMedia
Deny Context (none)
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
84010 All the properties for the corresponding service has not been saved.
84501  
84508 Some error occurred while trying to retrieve the access token.
84511 Properties for the corresponding service could not be found in database.

Notes:

None