if( 'recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType'="Medical", rule!NZP_DASH_MaintenanceSummaryView(maintenance: rv!record), rule!NZP_DASH_MaintenanceSummaryViewForPen(maintenance: rv!record) )
Discussion posts and replies are publicly visible
What is your question?
I want to call two different Dashboards in one summary view
Sure. You just need to reference the record field like in the record title configuration:
This is the name of the field
'recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType'
This is the value of that field in a specific record data structure
rf!record['recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType']
can u suggest what should i put there??
i mean i need the code?
I already tried to explain this twice ...
Here you go:
if( rv!record['recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType']="Medical", rule!NZP_DASH_MaintenanceSummaryView(maintenance: rv!record), rule!NZP_DASH_MaintenanceSummaryViewForPen(maintenance: rv!record) )
where should i use that code??
yes i have done but still its its opening the same interface
I was asking for the actual values in this field. You told me that the values are "Medical" and "Equipment". That's not true. You use numeric values to represent case types. Check out the green highlighted area in your screenshot.
You will have to use the ACTUAL values. Not the literals used to display the type to the user.
res i have change that
Not sure what you try to tell me, but in that if() statement, instead of comparing to "Medical" you need to compare to a numerical value like 1, 2, 3, 4 ...