Forum Discussion

FICO's avatar
FICO
Community Manager
17 years ago

Reg : SRL Entity Provider

Reg : SRL Entity Provider

Hi,

I have used SRL entity provider, placed in the valueholder and displayed on the screen. The drop down of this provider is showing me only those values from that particular Ruleset, which i have mentioned in the Ruleset option of SRL entity provider. this is some sort of hardcoding which i dont want.

Is there any way by which this hardcoding be removed and i would be able to see the values in the dropdown from any random ruleset.

Regards,

Archu

5 Replies

  • FICO's avatar
    FICO
    Community Manager

    hi,

    In the SRL Entity Provider - Ruleset option - do not select any particular ruleset (by doing so you are specifying that you want a SRL entity Provider for that particular Ruleset entities). There should be an option of "Any" in the Ruleset option as I remember, select that so that you will get all the values of your project.

    Regards,

    Madhu.

  • FICO's avatar
    FICO
    Community Manager

    The SRL Entities Provider's ruleset argument can be dynamically overriden to select values from any ruleset of the project. In your template design, just use dynamic overrides for this particular argument so that the argument now points to the ruleset that you want. That way, the hardcoding can be removed.

    Hope this helps.

    Good luck.

  • FICO's avatar
    FICO
    Community Manager

    Hi,

    Can you please explain it with the help of example(Argument mapping).

    it would be very helpful.

    Regards,

    Archu

  • FICO's avatar
    FICO
    Community Manager
    You will create two value holders in your template. One will use SRL Rulesets provider to build a drop-down with ruleset names. Second will use SRL Entities provider and in it you need to click on the argument override button and select a dynamic override for the "ruleset" parameter. It will then ask you to select a value holder that will contain the override value and you will point it to the first value holder. In the RMA you will need to select the ruleset first and this will automatically refresh the second dropdown with variable names.
  • FICO's avatar
    FICO
    Community Manager

    HI ALL,

    i am facing the problem thats the SRL entiy provider is showing me one value twice.

    Like i have added one variable named ABC but in the drop down of SRL entity provider i am able to see ABC twice.

      kindly help.