Invocation of standard services
- Simple Search (
simple-search)Whenever Asset Picker receives content or asset search request from its client application against target system, it invokes the
simple-searchservice implemented for respective system. Asset Picker provides necessary input to thesimple-searchservice upon invocation. Search items received fromsimple-searchservice are then returned to the client application. Identification of the target system happens based on thesystemIdproperty used in the service meta information file and the corresponding System Identifier setting in Unica Platform populated during the target system onboarding. This service must be implemented by the plugin, else the content search request ends up in 404 response to the client application. - Resource Loader (
resource-loader)The
resource-loaderservice is executed by Asset Picker only when indirect (or authenticated) access needs to be made to the search item on target system. With the absence of a direct URL to an individual search item on the target system, theresource-loaderservice can be implemented by the plugin. Being an optional service, Asset Picker automatically recognizes if theresource-loaderimplementation exists for the target system and invokes it accordingly. - Asset Selection Callback
(
asset-selection-callback)Asset Picker executes this service for the target system when the client application selects one of the search items returned by the
simple-searchservice. Because the service is optional, Asset Picker can automatically recognize the existence of this service and invoke accordingly.