Copy Profile1&2Id for ProfileVewBandItem from one ProfileView to another

Copy Profile1&2Id for ProfileVewBandItem from one ProfileView to another

O_Eckmann
Mentor Mentor
750 Views
1 Reply
Message 1 of 2

Copy Profile1&2Id for ProfileVewBandItem from one ProfileView to another

O_Eckmann
Mentor
Mentor

Hello, 

 

I would like to copy the settings of Profile1 & Profile2 in bands from one ProfileView to another ProfilView.

I succeed to read Id (and name) for each ProfilViewBandItem form the source ProfileView, then I select the target ProfileView.

I open it in Write mode, and for each ProfileViewBandItem, I replace the Profile1Id and Profile2Id by good Id, but when I commit transaction nothing appears, the profilview is not updated, bands stay with their original settings.

 

How can I force the ProfileView to be updated after assigning new Id for Profile 1 & 2?

 

Thanks

 

Olivier

Olivier Eckmann

EESignature

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

O_Eckmann
Mentor
Mentor

Solved by forcing SetBottomBands

 

Olivier

Olivier Eckmann

EESignature

0 Likes