I am trying to use record-view in an embedded interface. The syntax for the same is specified as :
<appian-record-view recordTypeUrlStub="U1TzGg" recordIdentifier="112" recordViewUrlStub="summary"></appian-record-view>
What does the attribute "recordIdentifier" specify and how to obtain its value? Any help would be much appreciated.
When you create a record type, you must define a source that has an identifier. However, it varies depending on the source type:
In this scenario, you need to use the correct ID for the source type. For example, suppose you use an entity-backed record that queries data from a database table called "Cases" and that table has a primary key field called "caseId". If you use a value for caseId in the "recordIdentfier" above, Appian will display the corresponding data for the case that matches that ID.
Thank you so much for the answer. I tried this and it is showing error something like this : "The record view does not exist or you do not have permission to view it"
I have checked the security settings and I have administrator privileges for the record that I want to embedd. Can you suggest what could be something that I could be missing.
can you please check, you can add cross-origin or not.
Yes, I have already added cross-origin. I am able to embed other process models, just not record views
Does it display in Appian without embedding? That error message is not specific to embedded, it seems to be an issue with the record configuration. My guess is that the record ID you provided is either not a valid ID or you have added a default filter that excludes it.
The easiest way to find out what's happening is to go to the record list view in Tempo. If you go to the record list, do you see any records or does it show an error? If you see records in the list, can you select a record and display its record view?
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.