Hoppa till huvudinnehållet

Show Results from Query Relationship activity

Kommentarer

8 kommentarer

  • Stefan Schweigert

    Hi Erik,

     

    This appears to be an issue which I will pass along to our development team.

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Has this been resolved? I am trying to do the same.

    0
  • Stefan Schweigert

    Hello James,

     

    I retested this functionality and the issue still appears. I've raised the priority on this issue and added you as a stakeholder.

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Has this issue been resolved? I am trying to do the same.

    0
  • Stefan Schweigert

    Hi Eric,

     

    This issue is still outstanding but I've added your name to the list of stakeholders and raised this issue with the development team lead.

     

    Thanks, Stefan

    0
  • Permanently deleted user

    Eric,

     

    The way I got around this issue, in case your wondering, was to build the relationship query myself and use the query activity as usual. Its a few extra steps, but at least you can achieve the end goal.

     

    Good luck!

    James

    0
  • Permanently deleted user

    Hi James,

     

    Thanks for your help. That's a useful workaround. I've also tried a bit and found another way to do it:

     

    After the queryrelationship activity with $objectIds1.id as input, I've put a Get feature attribute values activity, using this expression:

     

    =$queryRelationship1.results[$objectIds1.id]

     

    This retreives the actual featureset from the queries' results object.

     

    The attribute value or values obtained, can be used in the feature template, in my case like this:

     

    ={title: "Project: {title}", description: "<br/> Project number: {iati_identifier} <br/> Sector: "+$attributeValues1.values

     

    Would be great if this info could help others.

     

    Thanks again for your suggestion. I'll keep it in mind for other cases.

     

     

     

    0
  • Stefan Schweigert

    Hi Eric,

     

    Thanks for providing an answer. That is the correct syntax for interacting with results. The error regarding toJson not being defined is happening because Lookup<FeatureSet> does not have that method, but FeatureSet does.

     

    Thanks, Stefan

    0

Du måste logga in om du vill lämna en kommentar.