We help IT Professionals succeed at work.

Problem with SetViewFilter on hotspot rectangle

tashsmith
tashsmith asked
on
Medium Priority
357 Views
Last Modified: 2013-12-18
hi experts,

i have a view with a generic view selection formula.
i want to use this view to display all content, and sort it using a button with SetViewFilter

i have a main navigation with a bunch of hotspot links

here is the code for 1 of them, there are 4 like this and 6 plain link to view

@Command([OpenView];"$ind");
@SetViewInfo([SetViewFilter];"a";"industry";1);

when i first open the database and press 'a' it works just fine, problem is any further views that are selected seem to also filter by industry = a,

any ideas how I can adapt the above code so that 'filter' is 'killed' off when the view is rendered, so that the next view selected is not subjected to a industry =a filter.

i know, clear as mud!

ta


Comment
Watch Question

Groupware Consultant
CERTIFIED EXPERT
Commented:
> ... any further views that are selected seem to also filter by industry = a ...
That's odd, how are those views selected.

By the way, you can reset the filtering in any (or all) view's QueryOpen or PostOpen.

http://www.ampersand-solutions.com/ampersand/ampersand.nsf/0/E17C0EF72C32DD4C48256FCE006D2F59!OpenDocument

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
thanks for the quick response sjef..

> ... any further views that are selected seem to also filter by industry = a ...
this problem is cited in the article you posted, 3rd paragraph..

playing now

Author

Commented:
sorted thks
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.