Save Product Sheet Offline
In this example, we generate Product Sheets from the Perfion Report Generator and store them directly on the Product. This is useful if you have very complex or big product sheets that normally would take a long time to be generated. Storing them offline makes them available immediately and easy to share with other parties, websites etc.
NOTE: In order for this example to work, you must have the Perfion API Service installed and available.
This example is provided as inspiration only. It must be adapted to your Perfion environment to work. Perfion Support does not assist with such adaptations. Please contact your Perfion Partner or your Perfion consultant if you need assistance.
Download the Action here:
The first step of this Action finds all of the Products we want to generate the Product sheets for.
The second step, will generate an URL link to the Perfion Report API, this must of course be changed to match your installation of the Perfion API
Finally, the imported will generate, download and assign the product sheets to the products.
Save datasheets "offline"
Find Products you want to store Product sheets on
<Query>
<Select languages='EN'>
</Select>
<From id='100' />
<Where>
<Clause id='Brand' operator='=' value='Normal' />
<Clause id='Category' operator='IN' value='Coffee Makers' />
</Where>
</Query> |
Generate URL link to Perfion Report
Value = "http://localhost:8084/Perfion/Report.ashx?ReportID=1&ID=" + V["_ID"].ToString(); |
In the script above, the ReportID= must equal the Report Template ID of the Report you want to generate. The ID= will be assigned to the product ID