Symptoms
When we try to open the rules in a form, we have the following error:
SIGP.Projet - (SIGP.SousProjet.list - (On SIFTP.Projet.List, when Add Toolbar Button is clicked)) (SubForm)
- The event "When a control on a View on a subform raises an event" could not be resolved.
If we go to the sub form "SIGP.Projet" directly we don't have any rule missing.
If we try to deploy the package that you sent to me we have the following error opening the kspx file:
Undeployable package
And after:
'SGIP.Portail' Form is referencing the 'Guid' property on the 'UnknownView' Vieew that could not be found.
'SIGP.Cadrage' Form is referencing the 'SousProjet' property on the 'SIGP_GetSousProjetsAvecTotalCount' SmartObject that could not be found.
'SIGP.Projet' Form is referencing the 'SousProjet' property on the 'SIGP_SousProjet' SmartObject that could not be found.
Diagnoses
This error is only on the main form "SIGP.Portail", not on the sub form SIGP.Projet.
Then, to fix, we can try to re-create the rule that generate this sub-form.
Resolution
Can you check whether you can safely use the following SmartObjects with Smart Object Service Tester:
SIGP_GetSousProjetsAvecTotalCount
SIGP_SousProjet
?
Whatever the result, to try to correct the form, you can try these manipulations:
1) Make a "Save As" forms / views that will be modified in order to make a backup (maybe you've already made reference to my previous note).
2) Find the rule in which you call the "SubForm": this should be the rule "when Add Toolbar Button is clicked"
3) Delete this rule
4) Save View / form
5) Open SIGP.Portail, edit the rules and see if the problem still appears.
If it does not appear,
6) Save SIGP.Portail form
7) Re-add the rule removed in step 3.