2 Replies Latest reply on Nov 17, 2017 2:31 AM by acomastri RSS
    acomastri Newbie

    How change property in a modelitem using a button

    hi everybody,

     

    I need to change property of modelitem using botton and application parameters.

    Someone could help me?

     

    thanks

    Alberto

      • Re: How change property in a modelitem using a button
        supandey Collaborator

        Hi Alberto, could you elaborate a bit on your use case if i follow you right you are attempting to update e.g. a Thing's property via certain input from a Mashup?

         

        Based on what sort of entity and its property you are trying to update you may be able to use one of the out of the box service from that entity and you can bind the input from button & other application parameters to this service as an input. Thus clicking on button will invoke that service taking required input and in return updating/creating required properties for the entity.

          • Re: How change property in a modelitem using a button
            acomastri Newbie

            Hi Sushant,

             

            I need to point out some object using model item from a bom. The property is color. From original to another one, may be red or yellow.

            I've tried with app parameters but I've got some troubles.

            1. I'm starting right now to learn JS.
            2. I don't know any command key used inTHINGWORK STUDIO

            Do you know if there is a list of command?

             

            Thanks