cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Xv
Resolver I
Resolver I

Display full timeline (annotations) on portal

My goal is to display the full timeline of a case in a Self Service Portal, Notes, emails, attachments etc.

I am currently using FetchXML to get a case's related annotations and am running into what I think is a permissions issue.

 

This is the error when I try to display the result of the FetchXML.

Notes: Liquid error: Exception has been thrown by the target of an invocation.

 

This is the fetchxml and liquid, without any conditions.

{% fetchxml thenotes %}
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
  <entity name="annotation">
    <attribute name="title" />
  </entity>
</fetch>
{% endfetchxml %}

 Notes: {{ thenotes.results.entities.size }}

Here are the permissions that are set:

Annotation and Activity Pointer have global access rights.

Xv_0-1667177497953.png

 

Any idea how to display all timeline records?
Is this a permission issue? "Liquid error: Exception has been thrown by the target of an invocation.

 

Your advice is appreciated.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
OliverRodrigues
Super User
Super User

The issue here is that the title attribute is actually called subject

just change your fetch and it should work fine




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

View solution in original post

2 REPLIES 2
OliverRodrigues
Super User
Super User

The issue here is that the title attribute is actually called subject

just change your fetch and it should work fine




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

Xv
Resolver I
Resolver I

Doh! thank you!


Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (4,131)