ResourceUrlsEditor
Handle
Provides an ATS-first editor for resource URLs within polyglot callbacks.
type ResourceUrlsEditor interface{}Properties
property
ExecutionContext DistributedApplicationExecutionContext getGets the execution context associated with this editor.
ExecutionContext() DistributedApplicationExecutionContextMethods
method
AddAdds a displayed URL.
Add( url any, options ...*AddOptions,) errorParameters
urlanyThe URL to add, specified as a string or reference expression.options...*AddOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddOptions argument.
DisplayText *stringThe optional display text to show for the URL.Returns
errorReturns error.
method
AddForEndpoint Adds a displayed URL for a specific endpoint.
AddForEndpoint( endpoint EndpointReference, url any, options ...*AddForEndpointOptions,) errorParameters
endpointEndpointReference The endpoint the URL is associated with.urlanyThe URL to add, specified as a string or reference expression.options...*AddForEndpointOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddForEndpointOptions argument.
DisplayText *stringThe optional display text to show for the URL.Returns
errorReturns error.