EBDN - Community - Question & Answers

  Monday, 06 April 2020
  1 Replies
  897 Visits
0
Votes
Undo
Hi,

I want to add attributes in a device at a specific index.
For example in image1, there is no Description attribute. When I add the attribute to the device and state the specific index eg: 8, it should place the Description attribute accordingly as in image2.

using the code below:

item.Attributes.AddAttributeToMask((AttributeId)attr.ID, tabs.TabName.Name);

I am only able to add the attribute but it places the attribute randomly. Is there any method to add attributes in a device at a specific index in EB?

Thank you.