grouping household and individual custom tabs

Is it possible to have grouping on custom tabs similar to addresses and others on different tabs of an account? 

Parents Reply Children
  • I used a query in the infomaker object rather than a SP. Didn't do anything special with the affiliated customer_no except copy how it worked in the sample:

    My query is as follows and works fine on household records:

     

      SELECT a.customer_no,  

    a.allowemail_flag,

    a.allowmail_flag,

    a.allowphone_flag,

    a.allowsms_flag,

    a.allowshare_flag,

    a.asked_dt,

    a.id_key, 

    CreateLocation = a.create_loc,

    CreatedBy = a.created_by,

    CreatedDateTime = a.create_dt,

    UpdatedBy = a.last_updated_by,

    UpdatedDateTime = a.last_update_dt 

        FROM LT_PRIVACY_ACT a

    Where (a.customer_no in

    (Select expanded_customer_no From V_CUSTOMER_WITH_PRIMARY_AFFILIATES Where customer_no = :constituentid)) 

     

     

    Hope that helps.

  • Thanks Dara - this helps! I think I've got it worked out now!

  • Looking at the bold box for customer_no - the sample has this expression:

    If(customer_no = currentconstituentid, 700, 400)

    How do I get currentconstituentid? It doesn't seem to be part of the select they're using in the data source...

  • How it works in the samples (and you can do the same thing) is that currentconstituentid is a computed column object with the visible property turned off. The compute expression doesn't matter (in the sample it's just 0) and when the datawindow loads we automatically look for a computed column with that name and replace the expression with the id of the current constituent.

  • Unknown said:

    By the way, I have no idea what this means. 

    "Mid(LookupDisplay(customer_no), 201)" 

    But it seems relevant. I am going to paste that into every available text box in InfoMaker today and see what happens.

    A little confusing, eh? This expression returns the row number of the constituent as it appears in the constituent navigator (we append the number of the row to the name of the constituent that appears in the customer_no dropdown datawindow after 200 characters). It gets used as the secondary sort criteria after putting the currently selected constituent first. We may change this in the future to use an extra column and work more like currentconstituentid, but for the moment, this is the way most of our screens work and the way to get the right sort order in custom screens.