Clarity

 View Only
  • 1.  Virtual Attributes in Query-based portlets

    Posted Jun 02, 2017 01:31 PM

    Hi,
    Is it possible to pull virtual attributes into a portlet via query? I want to create a query-based portlet that includes the Gantt schedule visual, which is a virtual attribute.



  • 2.  Re: Virtual Attributes in Query-based portlets

    Posted Jun 02, 2017 03:25 PM

    Maybe.

    Virtual attributes are not store in the database they are calculated on the fly.

    One way is to use the same calculation (if you can figure it out) in the query.

    Another is to see if the attribute is in a db view, then it can be queried from the view.

    See

    Reading Calculated Attribute in GEL Script? 

    https://communities.ca.com/message/241946245-re-where-is-a-calculated-field-stored?commentID=241946245#comment-241946245 

    https://communities.ca.com/message/241918832-re-where-are-the-virtual-attributes-created-for-project-stored-in-database?… 

    Can't say off had about the Gantt if that can be retrieved in either of those two manners.