- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
If you have an iPart in your Content Center that changes shape depending on your iPart selection.
You can update the BOM Thumbnail with the following iLogic rule.
Make an iLogic rule that triggers Before Save and the following code will updated the BOM Thumbnail even for Content Center parts:
ThisDoc.Document.SetThumbnailSaveOption (ThumbnailSaveOptionEnum.kActiveWindowOnSave)
But how do you change the Thumbnail Background color?
Because ThisApplication, does not give you access to the Application Object that generates the Content Center part.
The following code does not work when the part is generated from the Content Center:
ThisApplication.ColorSchemes.Item("Presentation").Activate ThisApplication.ColorSchemes.BackgroundType = BackgroundTypeEnum.kOneColorBackgroundType
Changing your background color before you generate the part does not change the background color for the Content Center part.
The Content Center part is generated with some default settings, that is not affected by your current settings in the application.
Colbjørn.
Solved! Go to Solution.