web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Show Notes attachments subgrid in mscrm UCI view

(0) ShareShare
ReportReport
Posted on by 483

Hello,

Is possible to show notes attachments subgrid in mscrm uci view ? Iam unable to find annotation entity in subgrid related entity list.

Thanks,

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi dkrishna,

    From my test, it seems that Note(annotation) entity is not able to show as subgrid like other related entities, it is by design.

    I have tried following approaches:

    1. Inject a custom fetchXml to subgrid control, however, after having viewed many threads in forum, I found that this method was only supported in web legacy client.(getControl("xxx").setParameter("fetchXml", fetchxml))

    I also tried answer of this thread, the author shared a solution for UCI, unfortunately it didn't work in my environment.

    2. Add a web resource to retrieve related notes and render data by ourselves.

    It is very straightforward, I built a demo, it uses Bootstrap, jQuery and pagination JS, the custom attachment manager will show 5 records per page.

    To test, I uploaded 6 notes to my contact.

    pastedimage1597734415254v1.png

    pastedimage1597734538674v2.png

    You could run it in your environment to test.

    
        
        
        Title
        
        
        
        
        
        
    
    
    
    
        

    Attachment manager

    3. Import a custom control(PCF component) to show notes as subgrid, but I didn't find a perfect control on existing projects of  PCF Gallery.

    In a word, the best solution might be building a custom control by yourself.

    Regards,

    Clofly

  • dkrishna Profile Picture
    483 on at

    Can we create custom Activity entity to show attachments in subgrid? 

  • Jharana Baliyar Singh Profile Picture
    2,667 on at

    Hi Clofly,

    I need the same where subgrid in separate tab shows all the notes with attchments in that tab using javascript in UCI 9.0 crm so this web resource i can use r8 ? as html directly web resourece need to create in crm ?

    Thanks,

    Jharana

  • Jharana Baliyar Singh Profile Picture
    2,667 on at

    Hi Clofly,

    I have used the above html web resource but html code directly showing on the tab its not showing any grid data.

    What could be the issue ? Do i need to add above script libraries like Bootstrap,Paginaion in crm ?or No need ?

    Thanls,

    Jharana

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans