Hi Readers,
I have 4 database tables with which i have created 4 record types and added relation ships in it. cluster, vm, server/node, application
All the record types are related as below.
now after this to get the overview i have created an another record type and linked with the other record types to create a grid view with all the columns present in all the record types.
everything worked fine till here
Individual summary view is working fine i.e., summary view of Server_node record view is working fine,
But the summary view when clicked from the overall view which is created from the last record type i am getting error as below,
there is a column named nodes which has records node_1, node_2, node_3,...... node_12 the values are created with record link
the summary views are getting jumbled
when clicked on node_1 i am getting error as
when clicked on node_2 i am getting the summary view of node_1
when clicked on node_3 i am getting the summary view of node_2
....
when clicked on node_12 i am getting the summary view of node_11
i am wondered where did the summary view of node_12 gone
Code which is making issue: a!gridColumn( label: "Server_Node_Name", sortField: 'recordType!{7e0bcca4-732c-41df-a0e2-1aef773f9ea3}IV Inventory List.relationships.{bff78658-ff18-4398-88f8-9ba8d382afd0}ivServerNode.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name', value: a!linkField( links: { a!recordLink( label: fv!row['recordType!{7e0bcca4-732c-41df-a0e2-1aef773f9ea3}IV Inventory List.relationships.{bff78658-ff18-4398-88f8-9ba8d382afd0}ivServerNode.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name'], recordType: 'recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node', identifier: fv!identifier ) } ) )
a!gridColumn( label: "Server_Node_Name", sortField: 'recordType!{7e0bcca4-732c-41df-a0e2-1aef773f9ea3}IV Inventory List.relationships.{bff78658-ff18-4398-88f8-9ba8d382afd0}ivServerNode.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name', value: a!linkField( links: { a!recordLink( label: fv!row['recordType!{7e0bcca4-732c-41df-a0e2-1aef773f9ea3}IV Inventory List.relationships.{bff78658-ff18-4398-88f8-9ba8d382afd0}ivServerNode.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name'], recordType: 'recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node', identifier: fv!identifier ) } ) )
Code which is working fine: a!gridColumn( label: "Server/Node_Name", sortField: 'recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name', value: a!linkField( links: { a!recordLink( label: fv!row['recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name'], recordType: 'recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node', identifier: fv!identifier ) } ), width: "AUTO" )
a!gridColumn( label: "Server/Node_Name", sortField: 'recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name', value: a!linkField( links: { a!recordLink( label: fv!row['recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node.fields.{f17dee11-acf2-4118-a587-ff937cf95c90}Server_Node_Name'], recordType: 'recordType!{19259aa9-f55b-4a3c-9bc3-385585275ace}IV Server_Node', identifier: fv!identifier ) } ), width: "AUTO" )
Discussion posts and replies are publicly visible
Not sure, but fv!identifier refers to the top level record not to any child. I would expect the working code only works because the IDs in the database are the same.
If you want to link to a specific record, you need to pass the ID of exactly that record.