Giter VIP home page Giter VIP logo

Comments (3)

giuliov avatar giuliov commented on June 12, 2024 1

Have you tried

parent.AddRelatedLink(newChild, "Impacted by Risk");

from aggregator-cli.

rbhole avatar rbhole commented on June 12, 2024

Thank you @giuliov

from aggregator-cli.

Gr4nOuvert avatar Gr4nOuvert commented on June 12, 2024

Hello @giuliov,
I have tried your example but I dont think that its working as supposed:
Have you got a clue?

My code:
var childItem = store.GetWorkItem(child.Id); self.AddRelatedLink(childItem, "Aggregator created link");

but i get following error message:
Rule \u0027test\u0027 failed: (44,22): error CS1061: \u0027WorkItemWrapper\u0027 does not contain a definition for \u0027AddRelatedLink\u0027 and no accessible extension method \u0027AddRelatedLink\u0027 accepting a first argument of type \u0027WorkItemWrapper\u0027 could be found (are you missing a using directive or an assembly reference?)"

Update:
i found the error.
You have to use self.Relations.AddRelatedLink(..)

from aggregator-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.