Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

setting applicability on a query / vis persp. content panel

ddumas

Is there any way to do this?

Ex. I have a projects query that has a condition of Project.ProjectManager.LoginName=LoggedInSystemUser.LoginName

It works.

I have that query in a content panel, inside a visual perspective. When a user (Employee) logs in, if they have no projects as a project manager, I want to "hide" that query from showing up at all. Currently it shows the query column headers with no data. While showing no data is correct, I do not wish to waste screen real estate with the column headers from the query.

I do not wish to create Project Manager as a separate access level.

If this is not possible, it would be a great feature to add, as applicability is in so many places.

Dave


aware_support

You cannot hide a query if there is no data at the moment.


ddumas

aware_support wrote

You cannot hide a query if there is no data at the moment.

Thanks for getting back. This would be a good one in a future release.
Dave


tford

Dave,

Could you have an attribute in the RegularUser BO that would count the number of projects that would appear in the query in question for a particular RegularUser?

Perhaps that count could be used in the "condition when invisible" for the content panel that displays this query.


pbrad

Hi Tom,
I regularly take that approach and it works well. I generally update the count during the user login process.
Cheers,
Pete


ddumas

tford wrote

Dave,

Could you have an attribute in the RegularUser BO that would count the number of projects that would appear in the query in question for a particular RegularUser?

Perhaps that count could be used in the "condition when invisible" for the content panel that displays this query.

I think I will try a variation on that. I will just create Yes/No attributes, ProjectManagerFlag and ProjectOwnerFlag, as attributes for all members of the SystemUser business object group. Then use that as "condition when invisible" for the content panels. This will just mean allot of duplication of content panels, but seems that this could be a way to control access level at a more detailed level.

I still think an "applicability" option on individual panel items would be better 🙂

Will let you know how it works.
Dave


ddumas

Setting Flags in objects belonging to the SystemUser business object group worked.

Thanks for your help!

Dave