Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - salaniojr

Pages: [1]
1
So,

Why the linking (like url links) is done only if I have the element in Context Reference table?

If I put the name of a Requirement element in the Uses or Results field in the step table that is not in Context Reference, it's just a string, but if the element is there, the string turns into a link to the referenced element, you can click and it opens the element.

What I want is to add elements to that context reference table programatically. This is not a Connector, not that I know. Maybe a special kind of Connector that I'm not aware of. Because the Connector I know is in UC's Links section.

There's a way to access this? Are those especial kind of Connectors?

2
Hi qwerty,

GetStep() just return a new EA.ScenarioStep element.

Context References can be seen in this image (marked in yellow). The Table shows you the elements that I can link to in Action, Uses, Result and State in the Step table above it.



3
So, I want to, programatically, link to an existing element (Requirement) in the Results field in ScenarioStep.

When I set in code:

EA.ScenarioStep step = GetStep();
step.Results = "R01 - Some Requirment"
step.Update()

...

I just have a string, not the link, because I don't have the existing element in the Context References list in the Scenario.

How to I put this element in the Context References?

I've already tried via EA.Repository.Execute(), update the EA.Scenario.XMLContent, but no sucess.

Is this, anyway, possible?

Pages: [1]