Skip to main content
Aug 2, 2022 6:36 PM UTC
Solved

How I can pass the attribute value to the part when particular document is attached to part

Hi All,

I have a document of called Test so when my part is attached to this particular document I want the attribute value of document should pass to WTPart..

Following are the attributesname :

Pushpak_B_0-1659465241541.png

How I can achive this from alias attribute.

@HelesicPetr , @manoj_dokku2 , @BjoernRueegg 




Aug 4, 2022 5:18 PM UTC

@Ajit_Kulkarni Yes we can do it I am able to achive using the below mapping .

describes@wt.part.WTPartDescribeLink~describedBy^com.demo.Test2~com.demo.itemGroup

Here,  com.demo.Test2  is the Internal name of document and Itemgroup is the attribute Internal name

3 replies

Aug 4, 2022 5:39 AM UTC

Hi @Ajit_Kulkarni ,

Can we achive this from alias attribute

Aug 4, 2022 4:43 PM UTC

@Pushpak_Old I did not reply on this post. I am not sure about Alias attribute. Should be possible on Global attributes. 

Pushpak_OldAuthorAnswer
Aug 4, 2022 5:18 PM UTC

@Ajit_Kulkarni Yes we can do it I am able to achive using the below mapping .

describes@wt.part.WTPartDescribeLink~describedBy^com.demo.Test2~com.demo.itemGroup

Here,  com.demo.Test2  is the Internal name of document and Itemgroup is the attribute Internal name