This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Execute command documentation

Hello,

I'm building a UI application, and I'm struggling to figure out how the execute commands works (especially the arguments) :

I want to create a multi lookup object, if I send the object type id in the argument it works, now i want to link the new object with the "parent" object, and as there is no documentation on this, I'm asking for your help please ?

Thank you in advance

Parents
  • Can you show me via code what you're trying to do?  There's no such thing as a "multi-lookup object" (a property can be a multi-select property with multiple values, but not an object), and I don't understand how the arguments come into this.

    In general terms linking an object to another means creating a relationship by setting a lookup property on one object to point to another object, but I don't entirely see how everything fits together here.

    Alternatively (as you're a partner): maybe speak to your partner manager and/or open an Implementation Support Request to chat to one of our partner team?

  • Hello Craig,

    Here is the actual code : 

    ShellFrame.Commands.ExecuteCommand(MFiles.BuiltinCommand.NewSubobject, gMLObjectType);// gMLObjectType is a object type id

    To be clearer, what I want to do is to create & add a lookup to a multiple select lookup property from the UI Framework.

    Exactly in the same way that clicking on the "+" in the metadata card

    Sorry for the misunderstanding

Reply
  • Hello Craig,

    Here is the actual code : 

    ShellFrame.Commands.ExecuteCommand(MFiles.BuiltinCommand.NewSubobject, gMLObjectType);// gMLObjectType is a object type id

    To be clearer, what I want to do is to create & add a lookup to a multiple select lookup property from the UI Framework.

    Exactly in the same way that clicking on the "+" in the metadata card

    Sorry for the misunderstanding

Children