I am new to Power Automate and the Power applications.
I have a flow which triggers when a new Sharepoint item is created. Now I need to create a PDF file representing the Sharepoint item and each column value, which is why I first create a HTML compose. One of my column in Sharepoint is a choice column, where multiple choices is enabled. I would like to show each choice available in the field as a label and checkbox in the HTML compose and if selected in Sharepoint, the checkbox for this specific choice would be checked, otherwise it would remain unchecked.
I have harcoded the labels based on the choices in the HTML compose, the checkbox are also there, but I am currently unable to check the boxes if the values are selected in the item column. I have tried to use a calculated column in Sharepoint, which would return true or false if a specific choice is selected, but it appears that calculated columns do not support multi choices columns.
Here is the Sharepoint list with the multiple choices column.
Here is part of the HTML where I would have the labels and the checkboxes
[...]
<h3>RESPONSABILITÉS ET RÔLE DE L’ÉTUDIANTE, L’ÉTUDIANT</h3>
<hr>
<form>
<input type="checkbox" id="choice1" name="choice1">
<label for="choice1">M’investir dans mes études et mon travail de recherche</label>
<p>
<input type="checkbox" id="choice2" name="choice2">
<label for="choice2">M’assurer que son cheminement est conforme aux exigences de mon programme et aux règlements de l’Université. (R8, art. 4.4)</label>
<p>
<input type="checkbox" id="choice3" name="choice3">
<label for="choice3">M'inscrire à chacun des trois trimestres jusqu'à la fin de mes études, sauf dans le cas où une autorisation d'absence ou de congé parental a été obtenue; à effectuer mon choix d’activités aux dates et dans les délais prescrits par le calendrier universitaire, selon les procédures applicables ou établies par sa Faculté d’attache. (R8, art. 4.4)</label>
<p>
<input type="checkbox" id="choice4" name="choice4">
<label for="choice4">M’inscrire pendant la période d’évaluation dudit travail une fois mon travail de recherche déposé qui comprend, le cas échéant, un délai alloué pour effectuer des corrections mineures et doit m’inscrire, le cas échéant, durant la période qui lui est allouée pour effectuer les corrections majeures à mon travail de recherche requises par un jury d’évaluation ou par le SCAE. (R8, art. 4.4)</label>
<p>
<input type="checkbox" id="choice5" name="choice5">
<label for="choice5">Autres, à préciser (à titre d’exemple : modalités de communication privilégiées avec la direction de recherche, disponibilités attendues et présences requises sur le campus, délai projeté de réussite aux activités du programme, participation à un groupe ou un laboratoire de recherche, etc.)</label>
<p>
</form>
[...]
The final display would be in a PDF file. No problem to build and create the PDF file and send in attachment of email, I just need to be able to check the boxes if the corresponding choice is selected in Sharepoint

Report
All responses (
Answers (