It's all about the answers!

Ask a question

Set a sensitivity label for an excel workbook created from DOORS DXL


x y (11) | asked Feb 12, 10:54 a.m.

 I'm trying to use DXL to set a sensitivity label for an excel file I'm generating from DOORS so I can save the excel file before going on and generating another one. I followed the link below and am able to automate this in VBA, but I am not able to do this in DXL. I run the oleGet function below and then try to set the Sensitivity Label for the Assignment Method Label, ID, Label Name, and Site ID parameters but it doesn't work and the script gets hung waiting on the user to manually select the label.



oleGet( objActiveWB, "SensitivityLabel", objSensitLabel)

I've also tried to doing sense_label = oleCreateAutoObject("Office.LabelInfo") and then setting the labels attributes but sense_label always returns null. Anyone have any ideas?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.