Show number of records on tab that contains related list ..?

edited February 17, 2020 in Questions
how to add no of related records no related object same as we cxan se no  of records present in the related oblist.

Comments

  • edited February 17, 2020
    Hi Rizvan.

    You can use an Aggregate Model to do this and display the aggregate field in the display template.

    When you add a model click on Advanced and change the model type from Basic to Aggregate.

    There is a section in the tutorials on Aggregate Models too. 

    Enjoy. 
  • edited September 2, 2014
    Hi Gregg,
    thanks for the response.
    let me repeat my question once again.
    i want to show no of records as shown in the figure in my skuid related tab list..


    imageimageimage
    image
    thanks
  • edited February 17, 2020
    This can be achieved in various ways. Ie you can create a queue with aggregate models and display them as templates. Check out the tutorial on aggregate models and model filters and templates. Ciao
  • edited September 2, 2014
    thankks..will try it :)
  • Rob HatchRob Hatch 💎💎💎
    edited September 1, 2016
    You can also show data about a model's lenght in the Tab Title field.  
    I have a key people tab in my opportunity detail page that shows a related list on the opportunity contact role object.  The model is called "OpportunityRoles".  
    I can add the following merge code to my Tab Title field:  Key People ({{$Model.OpportunityRoles.data.length}})

    I get the following result: 

    image
    For more information on the merge syntax features avalable look here:  http://help.skuidify.com/m/11720/l/187263-global-merge-variables-functions

    I think that gives you what you were after. 




  • edited September 2, 2014
    thanks a alot ROb...u really hellped me .!!
    i need a another help from u..

    i want to add follow button on the tab/list page beside every recordimage
  • Rob HatchRob Hatch 💎💎💎
    edited September 1, 2016
    Note: Emily answered this second question on its own forum post:  https://community.skuidify.com/skuid/topics/adding_a_follower_button_to_the_row_action
  • edited September 2, 2014
    Thanks Rob..:)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!