Creating a product grouping

Use product groupings to collect like products into meaningful groups for you or your team.

About this task

You can group products in any way you want, by team, date (month, year), milestone (beta, general), feature (laser printers, inkjet printers), and so on. Give your product groupings names that make sense to you and your team.

Procedure

  1. In the main menu, click Products > Product Groupings.
  2. In the Product Groupings screen, click Create Product Grouping.
  3. In the Edit Product Grouping screen, enter a name and description for the product grouping you are creating.
  4. If you need to add a prefix to the SPARQL query, click Add Prefix and choose from the list of predefined prefixes
  5. Modify the SPARQL query code to find the product you are interested in.

    Standard editing keys are available for your platform. When you edit the SPARQL query, you can type Control+space to receive content assistance.

    In version 4.0.4 and earlier, the query code displays in black, without content assistance.

    You can change the SPARQL query to find certain kinds of products. However, the first variable in the SELECT clause must be a pd:ItemVersion variable. This variable is used to populate the product tree in the Browse Products page.

    Some useful ways to modify the SPARQL queries are to use predefined system parameters and to use properties on a product.

    For example, if you want to gather all products for the SuperCar product with a Fall property name and a 2016 property value, change the SPARQL query from this:
    #?product <https://amrrtcserver:9450/relm/property/_ProductProperty_> "PropertyValue".
    to this:
    ?product <https://amrrtcserver:9450/relm/property/_Fall_> "2016".

    You can also use the following predefined system parameters in the SPARQL query. Parameter values are substituted into the query string at run time, and customize the query results.

    • $system.date$ where date is substituted with the current date.
    • $system.dateTime$ where dateTime is substituted with the current date and time.
    • $system.time$ where time is substituted with the current time.
    • $system.user$ where user is substituted with the current user email address.

    Some of the predefined system parameters substitute the current time and date in the query. If you specify a raw date in the SPARQL query, be sure to use explicit time zones to avoid client/server time zone differences.

  6. Preview the results of the query by clicking Show Preview in the Results Preview section.
  7. If you are satisfied with the query results, click Create.

    View the custom product grouping in the Browse Products screen products list box.


Feedback