Hi,
In our project, we have a configuration "priorScene": "ParentScene" in the appmodel used in the Dashboard module (to show multiple Overview table). I cannot recall where does it come from (perhaps from the SampleApplication), but when I attempted to research it in geta12, there was no information available except for one limitation related to Deeplink.
May I ask for the meaning of “priorScene,” and can I remove it to make Deeplink work?
Hey @anh-round-summit,
the priorScene attribute works like an additional Match Condition and checks, if the Scene that was activated before, has the given name.
For example: in the simplest Master/Detail case you could have a flow with two Scenes:
Scene 1: name = “MyDocumentsOverview” → shows the overview
Scene 2: name = “MyDocumentForm” → shows the form in the detail.
in this case you could set priorScene = “MyDocumentsOverview” and this scene would only be activated, if the overview was shown before. You could in this simple case delete all Match Conditions on “MyDocumentForm” and still get a working app.
But because there was no Scene activated before, when you follow a deep link to one of the MyDocuments, “MyDocumentForm” would never match.
A few more information might be here: Docu > Client > Basic Concepts > App Model > Scenes > Scene Match
Before you remove the priorScene, you should check, if the Match Conditions of the Scene are detailed enough to make it not being shown anywhere unwanted. (Start by copying the Match Conditions of the Scene that was mentioned as priorScene. This might not work if your priorScene shows a tree.)
Thank you for your answer, It look like I can remove priorScene from our appmodel. Due to we already defined very detailed matchCondition for each Scene
I did check by remove all MatchConditon of the Form, then just dispatch a formActivity with only instance:Document/7 in descriptor and… it work. The form still open.