Home page suggestion (Use RecordType in Interface based on Type of record)

Certified Associate Developer

Hello Team,

In my application there are around 7 record types. On my home page I am planning to use the Card Layout (using RichText) to show each of these types. Upon selection I wish to show the relevant Record Type for each selection. Firstly, is this possible? I am planning to use the dynamicLink to set a local variable and use to render the relevant record Type in my interface. I have defined a constant to "Record Type" and when I try to render based on whether my local variable is set, I am getting an error "An array of components may only contain Components. Retrieved RecordType at index..."

Please suggest is it possible to call RecordType in this manner? What am I doing wrong? Is there any other interface design pattern I can use to render each recordType in a better fashion.

Thank you in advance!

Regards,

Justin

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer

    I'm not sure what your error is being caused by, but in a bigger picture sense, the best implementation I've seen for this sort of scenario is: use one report to show your list of record types (guessing this is what you're already doing, or close) - but then for each subsequent record type, use a!reportLink to link to a report consisting of a custom-made interface showing your record list.  You have to build this from scratch but on the plus side, you get advanced filtering and all the bells and whistles you can get with a custom-built SAIL form that you can't do with the OOB record type list.

Reply
  • +1
    Certified Lead Developer

    I'm not sure what your error is being caused by, but in a bigger picture sense, the best implementation I've seen for this sort of scenario is: use one report to show your list of record types (guessing this is what you're already doing, or close) - but then for each subsequent record type, use a!reportLink to link to a report consisting of a custom-made interface showing your record list.  You have to build this from scratch but on the plus side, you get advanced filtering and all the bells and whistles you can get with a custom-built SAIL form that you can't do with the OOB record type list.

Children