AnsweredAssumed Answered

Use GetField to specify Filter Criteria

Question asked by JamesPeragine on Dec 15, 2014
Latest reply on Dec 16, 2014 by philmodjunk

Title

Use GetField to specify Filter Criteria

Post

I have 6 portals on my layout and I'm filtering each one a little differently, however, some of the criteria are similar.

Instead of listing the same criteria on each filter can I create a settings field and use GetField ("settingfield") for certain criteria?  I've tried it but it doesn't seem to be working.   

In other works, instead of putting

Case (
LeadsPortal::AreaCodeFilter = "SHOW ALL"; 1;
LeadsPortal::AreaCodeFilter ="Eastern"; LeadsPortal::Timezone = "Eastern" or LeadsPortal::Timezone = "Eastern/Central";
LeadsPortal::AreaCodeFilter ="Central"; LeadsPortal::Timezone = "Central" or LeadsPortal::Timezone = "Central/Mountain";
LeadsPortal::AreaCodeFilter ="Mountain"; LeadsPortal::Timezone = "Mountain" or LeadsPortal::Timezone = "Mountain/Pacific";
LeadsPortal::AreaCodeFilter ="Pacific"; LeadsPortal::Timezone = "Pacific" or LeadsPortal::Timezone = "Mountain/Pacific";
)

I'd like to put this calculation in a global settings field and use GetField () as on of the filter criteria for my portal.  Is this possible and/or am I doing it wrong?

Outcomes