cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting Comment MetaAttribute Property through Script

imrankhatyan
Trusted Contributor

Hello,

I just tried the following Code but for some reason it does not display

 

app.setProp("Comment","Test")

3 Replies

mostafafad
Super Contributor

I've tried it before, Reading and writing to a multi-lingual property is tricky.

I use the Translation Name: so "Comment (English)" rather than "comment"

galvinw
New Contributor

For VBA this works for us

 

metaobject.SetProp ("Comment"), newvalue

Remember that Comment is multi-language so make sure it is being saved to the correct field

 

hdrapin
Super Contributor

I'm using this :

 

oObjet.setprop "~CTOjGRRs9X60[asset status]",vasset_status

 

regards