Solutions
...
Wizards and other Actions
Dynamic Attributes Wizard
18 min
add an instance docid 8z gtb3x2n3 bw6oubcoy displays the variable data attributes configured in the model the instance belongs to you can map one to one relationships with data topics and attributes by updating the topic field for the instance to assist with the definition of the dynamic attributes and ensure that the json object is correctly formatted, the dt instance management tool provides a dynamic attribute wizard access the dynamic attribute wizard notes to access the dynamic attribute wizard it is required that the entry in column dynamic attributes is not empty a model name is selected an instance name is defined select the respective cell in column dynamic attributes for the instance you want to map one to one relationships with data topics and dynamic attributes for if all conditions are met, the dynamic attribute wizard button is shown in the help section of the litmusconfiguration ribbon open the dynamic attribute wizard by pressing the dynamic attribute wizard button the dynamic attribute wizard will show add individual topics to add a topic to a dynamic attribute, select the key value pair to open its edit screen manually adding a topic to add a topic manually, check the set topic manually chekcbox enter the topic into the topic field p ress the modify button this will set the topics for all dynamic attributes select a topic from devicehub to be able to select topics from devicehub, devices docid 0omx72vihuqpaqmpal7tm and tags docid\ ckw1ut 55yl7prdysfxjw have to be defined under devicehub to add a topic by selecting it from devicehub, check the set topic from devicehub chekcbox select the device from which to select the topic from for the device name dropdown select the topic from the topic dropdown p ress the modify button this will set the topics for all dynamic attributes select a topic from analytics to be able to select topics from analytics, analytics needs to publish data using a output processors docid\ jqzzs0rird0mr1slvmgxr to add a topic by selecting it from analytics, check the set topic from analytics chekcbox select the topic from the topic dropdown p ress the modify button this will set the topics for all dynamic attributes add topics in bulk to be able to add topics in bulk , devices docid 0omx72vihuqpaqmpal7tm and tags docid\ ckw1ut 55yl7prdysfxjw have to be defined under devicehub to add topics in bulk, select multiple dynamic attributes select the device from which to select the topics from for the device name dropdown the wizard will pull all availabele tag names from the device and show them in a list the wizard will bilk add topics based on a check to see if a dynamic attribute is the same as one of the tags of the selected device in case tag names differ from how dynamic attributes are defined, users can use the available tag names list to check if they need to compensate for a prefix and/or a suffix example the two dynamic attributes are step4 and sawtooth1 and the device has two tags named l3 machine2 1 step4 and l3 machine2 1 sawtooth1 so the user will need to compensate with a prefix of " l3 machine2 1 " to match tag names and dynamic attributes compensate for a prefix to compensate for a prefix, check the compensate for prefix checkbox provide the prefix in the prefix field compensate for a suffix to compensate for a suffix, check the compensate for suffix checkbox provide the suffix in the suffix field compensate for a prefix and a suffix to compensate for both a prefix and suffix, check the compensate for prefix checkbox and compensate for suffix checkbox provide the prefix in the prefix field and the suffix in the suffix field preform a precheck users can perform a precheck without actually setting the topics first, to identify which dynamic attributes will be able to get a topic through the bulk action this can also be used to refine the the prefix and/or suffix settings to perform a precheck, press the precheck button if the wizards does find a match between a dynamic attribute and a tag, the dynamic attribute will stay selected if the wizards does not find a match between a dynamic attribute and a tag, the dynamic attribute will be unselected selected set topics in bulk to set topics in bulk, press the set button this will set the topics for all dynamic attributes which match a tag for the device using the prefix and/or suffix compensation save the dynamic attributes to save all the defined dynamic attribute(s) as a new dynamic attribute json object, press the save button this will create the correctly formatted dynamic attribute json object and store it in column dynamic attributes for the instance important this will overwrite the current value in column dynamic attributes cancel the dynamic attribute wizard if a user decides to not save the current dynamic attribute wizard configuration, they can press the cancel button notes this will not overwrite the current value in column dynamic attributes