SharinPix Search

The SharinPix Search component permits to search for all images corresponding to records available in a report.

Information:

This feature is only available on Lightning. It can be used on:

  • Community Builder
  • Page Builder
  • Desktop
  • Mobile
  • In your own Lightning Component development

Getting Started

To use the SharinPix Search component, you simply need to drag and drop the component from the Lightning App Builder onto your page layout.

Lightning Component Parameters

  • Report ID: Used to specify the report ID containing required the record IDs.
  • Report Parameters: Used to specify the parameters to be passed to the report. The value entered should be an array in JSON format. To filter the current record, use the parameter {recordIdas filter value. The example that follows demonstrates report parameters that query all images uploaded to the current Account record based on a report on Account: [{"column":"ACCOUNT_ID","operator":"equals","value":"{recordId}"}]
  • Tag Operator: Used to specify the operator to be used when applying multiple tags to filter the search. The values available for this field are OR and AND. When using OR, the search will return the images having any of the tags specified whereas using AND in the search will return images having all of the tags specified.
  • Tag Names (JSON): Used to specify the tags to be applied to filter the search. The value entered in this field should be an array in JSON format, for example, ["Paris","London"].
  • Affixes (JSON): Used to specify affixes or suffixes to be added to the object IDs found in the report. The value entered in this field should be an array in JSON format, for example, ["Paris","London"]. Here, LONDON is used as the prefix and PARIS as the suffix.
  • Height: Used to specify the height of the component. The default value is 500 (px).
  • Custom Permission ID or Name: Used to specify the Id or Name of a custom permission.
  • Use Fullscreen Image Viewer: Used to enable/disable the option to view image in full screen.
  • Component ID: Used to specify the component Id's to be matched by add-on components on a page.

Demo

Tip:

The SharinPix package includes the report SharinPix Sample Account Report (see picture below) which contains all Account records.

The picture below depicts the SharinPix Search component's results when using the report SharinPix Sample Account Report.

Tips:

Below are some useful links about the SharinPix Search component's feature that you may refer to:

0 Comments

Add your comment

E-Mail me when someone replies to this comment