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
OK. But then, what is your question. It seems like you are already doing what you want to achieve ?!?
I am confused. Please help me to understand your specific situation.
i cant able to call those interfaces in one summary it seems that its not able to work
its my site when iam selecting the medical request like option 1 its showing me the pen dashboard this dashboard
rule!NZP_DASH_MaintenanceSummaryViewForPen(maintenance: rv!record)
but i want this dashboard to show
rule!NZP_DASH_MaintenanceSummaryView(maintenance: rv!record),
I don't understand. Do you see any error messages? Does your condition in the if() not work?
it is showing me this summary
yaahh exactly
Well, then, what is the actual value in that "requestType" field?
1]Medical for animal
2]Equipment for pen
You do not reference that field in the record to compare the value, but compare the name of the record field itself against that literal.
Change it to
ri!maintenance['recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType']
Find the documentation here: docs.appian.com/.../reference-records.html
it is not working
What is not working? More details please !!!
its my interfaces
these two interfaces i want to call this in one maintenance summary view but iam getting only one interface for different types
Not sure why you share this with me.
You explained that the actual issue is with the if() statement. Then I suggested changing that code, but there still seems to be a problem with that if().
Can you share the current state of that if()?
this is my summary view can u suggest me how can i call those interfaces in this 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) )