Persist your module - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

To persist your module's view state when you go back to the homepage or access a new module, change the PartCreationPolicy to Shared on your view class.

<Export(GetType(SPFCustomView)), PartCreationPolicy(CreationPolicy.Shared)>

This setting means that the module's view state will reside in memory even when you exit the module; any memory usage will not be released.