Configuring Favorites for Leangets

A favorite is a preconfigured Leanget that end users can use as a ready-made template.

  1. For each Leanget type, create one config.LEANGET_TYPE.xml file with the following syntax:

    <?xml version="1.0" encoding="UTF-8"?>
    <favorites>
    	<favorite key="value" key="value" key="value"/>
    	<favorite key="value" key="value" key="value"/>
    	<favorite key="value" key="value" key="value"/>
    </favorites>

    This syntax contains the following elements:

    • LEANGET_TYPE: The type of Leanget you want to customize (KPI, Player, Sketch, or WebViewer).
    • <favorite>: One template you want to create for the Leanget type. Each <favorite> element contains as many key/value combinations as options to specify.

      For more information on keys and their values, see Keys for Favorites Configuration.

    Tip: Alternatively, download and edit one of the sample files:

  2. Send the file to the User, so that he uploads it to his workspace using the Documents panel.

    For more information, see Menus in the 3DLean User's Guide.

The favorites now appear in the Customize menu in 3DLean.

Tip: You can also upload your favorites on the server to make them available to all teams.

Example: Configuring Favorites for the Sketch Leanget

Create one config.Sketch.xml file with the following syntax:

<?xml version="1.0" encoding="UTF-8"?>
<favorites>
	<favorite 
	V_DEL3DL_Title="My_Sketch" 
	V_DEL3DL_Thumbnail_Url="https://My_Thumbnail.png" 
	V_DEL3DL_Background_Image_Url="https://My_Image.png" 
	V_DEL3DL_Stretch="false"
       V_DEL3DL_ToolBarHidden="false" />

	<favorite 
	V_DEL3DL_Title="My_Sketch_2" 
	V_DEL3DL_Thumbnail_Url="https://My_Thumbnail_2.png" 
	V_DEL3DL_Background_Image_Url="https://My_Image_2.png" 
	V_DEL3DL_Stretch="true"
       V_DEL3DL_ToolBarHidden="true" />
</favorites>

In this example, we configured two favorites for the Sketch Leanget:

Favorite 1
Is titled My_Sketch
Has a thumbnail image: My_Thumbnail.png
Has a background image, My_Image.png, displayed at the center of the Leanget
Displays the sketch toolbar.
Favorite 2
Is titled My_Sketch_2
Has a thumbnail image: My_Thumbnail_2.png
Has a background image, My_Image_2.png, stretched to fit the width of the Leanget
Does not display the sketch toolbar.