Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 473.1k

How to use correct properties for your data card in power app Run()?

Mar 22 2024 2:14 PM

Hi Team

I have the following properties i want to pass, but due to new version of power apps v2, it has its standard rule of using these. Below are my datacards names for my power app form;

Short Description text
Audit Date date
Audit types dropdown
Responsible Area dropdown
Facilities dropdown
Find description text
References dropdown
Severity dropdown
Due Date date
Audit person name via email
References person name AD account
1st Manager Approval person name on AD account
2nd Manager Approval person name on AD account
Status dropdown
Attachments file


// power app version 2 not allowing these as follows
SHEQConformanceFlow.Run(
    DataField('Short Description').Value,
    DataCardAuditDate_DataCardValue.SelectedDate,
    DropdownAuditTypes_DataCardValue.Selected.Value,
    DropdownResponsibleArea_DataCardValue.Selected.Value,
    DropdownFacilities_DataCardValue.Selected.Value,
    DataCardFindDescription_DataCardValue.Text,
    DropdownReferences_DataCardValue.Selected.Value,
    DropdownSeverity_DataCardValue.Selected.Value,
    DataCardDueDate_DataCardValue.SelectedDate,
    DataCardAuditPerson_DataCardValue.Selected.Email,
    DataCardReferencesPerson_DataCardValue.Selected.Email,
    DataCardFirstManagerApproval_DataCardValue.Selected.Email,
    DataCardSecondManagerApproval_DataCardValue.Selected.Email,
    DropdownStatus_DataCardValue.Selected.Value,
    DataCardAttachments_DataCardValue.Attachments
);

 


Answers (1)