Activate the Persistent Filter ModeTo activate the Product Configuration for future calls to
// Activate Persistent Filter ActivateFilterResources(currentResultLoaded) Note:
Only one persistent filter can be activated at a time.
Call the Existing AccessResource Method to Retrieve the Required ResourceCall existing Deactivate the Persistent Filter Mode When not NeededTo deactivate the current Persistent Filter before the // deactivate Persistent Filter if not needed anymore DeactivateFilterResources() Activating and Deactivating Persistent Filters with EKLlet myQuery(PLMQuery)
let results(List)
let resultsQuery(PLMQueryResult)
let currentResultLoaded(PLMWspPVS)
myQuery = CreatePLMQuery("PLMWspPVS")
myQuery->AddCriterion("PLM_ExternalID", "FilterAA")
results = myQuery->RunQuery()
resultsQuery = results[1]
set currentResultLoaded = resultsQuery->LoadResult(TRUE)
ActivateFilterResources(currentResultLoaded)
let resToFound(VPMReference)
resToFound = AccessResource("ROOTLogicalName > ResZZ", "VPMReference")
DeactivateFilterResources()
| |||||||