Forum Discussion
FICO
17 years agoCommunity Manager
Reg: Display of variable added in one Instance across other instances
Reg: Display of variable added in one Instance across other instances
Hi,
I have created two group templates and accordingly two instances each..
In the instance of Group template A i created one variable named ABC.
In the instance of Group Template B i created other variable named XYZ.
Now USing SRL entity Providers, i can see both the variables in their respective instance... example..i can see ABC in instance of Group Template A (SRL ENTITY)
and XYZ in the instance of Group Template B. (SRL ENTITY)
But i want that when i create ABC i will be able to see the ABC in the instance of Group Template B
and XYZ in the instance of group Template A.
I wanna see the variables created across instances irrespective in which instance they are created.
PLease help
Regards,
Archu
31 Replies
- FICOCommunity ManagerWhen the variable ABC was created in Group Template A, it's a local variable existed inside Group Template A, so you won't see it inside another Group Template B. If you want to view the variable between different Group Templates, you can declare a global variable instead of local variable.
- FICOCommunity Manager
thats the requirement and whereas i am creating new variables using variable templates.
is there any other solution let me know
- FICOCommunity Manager
Hi,
I do not have a problem creating variables inside groups and referencing them from other groups/outside the group.
To make sure that we are discussing the same thing;
- Create a group template
- Create a variable template inside the group template. Make it a string type, and create a string value holder for the name of the variable.
- Create an entity placeholder in the group template for the variable
- Create an SRL entity provider in the group template
- Create a placeholder/valueholder in the group template, that is of type SRL entity placeholder.
- Generate an instance, and create two variables (v1 and v2).
- Verify that v1 and v2 are options in the value holder of type SRL entity provider
- Generate a new instance of the group template
- Verify that v1 and v2 are options in this group template also.
This works for me. Is this what is giving you problems? Alternatively; have you configured the SRL entity provider with subproject/ ruleset/type information?
Regards,
Jostein
- FICOCommunity ManagerJostien, is not happening ya. as per ur suggestion i tried each and every step but i am not able to see the variables added in one group template instance in the other group template instance.
- FICOCommunity Managerhey Group templates are two different group templates
- FICOCommunity Manager
Hi again,
This still works for me.
- Create template GroupA
- Create variable template, string type, give variables a name (through a string value holder)
- Create entity placeholder and display format placeholder for variable template in Group A
- Create srl entity provider, do not configure it.
- Create Value holder/placeholder for srl entity provider.
- Generate instance, create at least one variable, and verify that it is selectable in internal variable dropdown.
- Create template GroupB
- Repeat steps 4 and 5
- Generate an instance of GroupB and verify that variable(s) from GroupA instance are selectable.
Works for me.
Regards,
Jostein
- FICOCommunity Manager
Jostien,
as u said i created one Group template named Group A in it i created one variable template and in that i created one valueholder(Name) which is string provider. In display i have shown this Name valueholder
I added this variable template in the Group A using a valueholder(Count 0 or more) and also created Display for it.
I also created one SRL entity provider (dint configure it as u said) and using a valueholder displayed it on screen.
now i created instance of group A. added two variable named HI1 and HI2. but in the SRL entity provider dropdown i was not able to see the newly created variables (HI1 and HI2.)
Please Help
- FICOCommunity Manager
Did you also create an entity placeholder for it in the group template? When you expand the group template instance, do you see variables as part of the instance content?
Regards,
Jostein
- FICOCommunity Manager
As in wht u saying. can u be somemore clear in ur approach.. please
entity place holder for which group template. group a or group b.
Group A and Group B are individual separate templates.
when i expand the instance of group a i dont see any variables getting added.
- FICOCommunity Manager
If you want to dynamically create SRL entity content, you need to add entity placeholders. When you create rulesets that contain instances of rulesets, you add an entity placeholder in the ruleset content that points to a valueholder of type rule template. The same applies to other SRL entities, for example variables.
If you want to dynamically create variables in for example a group template, it is not enough to create a normal value holder that points to a variable template, you also need to create an entity placeholder in the content section of the group (or ruleset) template.
Create an entity placeholder (the little yellow icon with four colored shapes on it) in the content section of the group template that holds the variable definitions, and point it to the value holder that holds the variables.
I suspect that this might be why you do not see the variables.
Regards,
Jostein