How to change Arms StartupArmItem In code?

StatusIDPriorityType
Closed33885MajorQuestion
Profile Reply
gabossolo Client

Hi !

Could you please assist me on how to change Arms StartupArmItem In code?

Thank you!

Replies

User Description Posted On
MariyaVoytovich Agent

Hello gabossolo!

You may change StartupArmItem in code as shown below.

var armDesign = ((IModelXafariArms) ((IModelApplicationXafari) Application.Model).Xafari).ArmDesign;
var arm = armDesign.Arms.First(x => ((ModelNode)x).Id== "Main");
if (arm!=null)
armDesign.StartupArmItem = arm;

Regards,
Mariya
On behalf of Xafari Client Services Team

× This ticket is closed.

Write US