Question
Virtusa
LK
Last activity: 6 Nov 2018 20:02 EST
Code re usability in PEGA robotics
In the above file structure which is provide as in pdn exercise , I am adding two global containers to individual project and individual interaction-call.xml files. If I add a property to XML file which is in CRMAdapter project It won't reflect in Main-UI project.My questions are
1. If I add a context value to xml file in one project why it is not reflecting in the other project?.
2. What if I add a global container outside the two project with a single xml file? Can we get the code re usability advantages rather than doing the following approach?
3. If I have more than two project I want only a single interaction.xml file so that I can update the context within that file and reuse among other projects.What approach should I follow?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
1. If I add a context value to xml file in one project why it is not reflecting in the other project?.
Projects are segregated; you'll need to add the xml to both or reference the xml in the other project.
2. What if I add a global container outside the two project with a single xml file? Can we get the code re usability advantages rather than doing the following approach?
You would still have to reference the xml in the project you want to use it in. I guess that would work, it depends on the circumstances of your project.
3. If I have more than two project I want only a single interaction.xml file so that I can update the context within that file and reuse among other projects.What approach should I follow?
Keep all of your startofday automations and adapter in the project that contains the interaction.xml.