Insert an instance properties when placing a component from Content Center

Insert an instance properties when placing a component from Content Center

EduLourenco
Explorer Explorer
353 Views
1 Reply
Message 1 of 2

Insert an instance properties when placing a component from Content Center

EduLourenco
Explorer
Explorer

Hello all, 

I require an ilogic rule that inserts an instance property when i place a component from content center.

I guess the structure (if possible) would be something like this

 

code that opens the Content Center library

 

after picking and placing the component, runs the following code

 

create instance properties column "TAG" and inserts the writable field

 

in the end the ideia is to get a form like this

 

EduLourenco_0-1682667918117.png

thanks in advance

0 Likes
354 Views
1 Reply
Reply (1)
Message 2 of 2

A.Acheson
Mentor
Mentor

Hi @EduLourenco 

The instance portion of the code would be easy enough to create. Here is the help file for this.

iProperties.InstanceValue("PartX:1", "Side") = "Left"
Dim partX1Side = iProperties.InstanceValue("PartX:1", "Side")

 And here is a forum example.

 

The request to browse for a content center part is an extremely difficult one.It would involve entirely replicating the existing content center folder dialog. A better solution would be to just place the part manually and then create the instance. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes