How to change Arms StartupArmItem In code?

StatusIDPriorityType
Closed33885MajorQuestion
ProfileReply
gabossoloClient

Hi !

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

Thank you!

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

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