US English (US)
ES Spanish

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Log in
English (US)
US English (US)
ES Spanish
  • Home
  • Help & Support
  • Support
  • Deep Dive
  • Technical Guides
  • RIO Ed Components

Custom component to display images from external data source

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • RIO Certification
    RIO Certification Program RIO Academy RIO Challenge RIO Recipe Training
  • Releases
    Release Notes
  • Help & Support
    Install RIO Education RIO Insights RIO Recipe Support
  • About Us
    Who is RIO Education? Start Your RIO Journey Housekeeping
  • Experience RIO in action
+ More

Table of Contents

Overview Setup What is needed in your custom component Having your component referenced by the attendance and grading components

Overview

This article describes how you can display student profile images, which are stored in an external data source, on the grading and attendance components.

You will need to create a custom Aura component, and have it referenced by the grading and attendance components, in order to display the images.

 

Note: This is supported only from v3.14.4 onwards.

 

Setup

 

What is needed in your custom component

The following parameters can be passed through to your custom component:

  • contactId - This is the Salesforce record ID for the student's Contact.
  • ccId - This is the Salesforce record ID for the student's Course Connection.

 

By including these attributes in your custom component, you will be able to reference them in your custom code for finding the appropriate image to display.

For best results, the output should use the <lightning:avatar> tags.

E.g.

<lightning:avatar size="slds-avatar_medium" fallbackIconName="standard:avatar" src="{!v.myCustomSource}" variant="circle"/>

 

 

Having your component referenced by the attendance and grading components

The following existing components allow student images to be displayed next to the Student:

  • RIO Ed - Attendance - Session List (Aura).
  • RIO Ed - Attendance Register (Aura).
  • RIO Ed - Session Grading (Aura).

 

As of v3.14.4, each of those components have an attribute “Custom Picture Component Name” , which allows you to reference your custom component.

 

 

custom image component profile image

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • RIO Ed - Short Course Record Details Card
  • RIO Ed - Create Faculty Component
  • RIO Ed - My Results (Aura)
  • RIO Ed - Attendance Display
RIO Education

RIO Education, a WDCi Company. This information is proprietary, confidential and protected by copyright ©2024.

CONTACT

Get in touch

  • Privacy
  • Terms of service

Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand