Hi,
Is this the patch or the update collection? I need to collect the information to the collection, then patch it
UpdateIf(
colTriageDetails,
ID = ThisItem.ID,
{
Integration: dpdIntegration.SelectedText,
Database: dpdDatabase.SelectedText,
Applications: dpdApps.SelectedText,
Infrastructure: dpdInfra.SelectedText,
'Cyber Security': dpdCyber.SelectedText,
'Information Governance': dpdIG.SelectedText,
'Information & BI': dpdInformation.SelectedText,
'Patient Safety Priority': togPatientSafety.Value,
'Significant Financial Impact': togFinancial.Value,
'Regulatory compliance': togCompliance.Value,
'Scheduled plan': togSchedule.Value,
'Fault fix': togFault.Value,
'Prioritisation comment': inpPriorityComments.Text,
'Next Step': dpdNextStep.SelectedText,
'Next Steps Comment': inpNextStepComments.Text,
'Request ID (From DSARB)': {ID: LookUp(Requests, 'Request ID' = varCurrentRecord.'Request ID','ID') Value:LookUp(Requests, 'Request ID' = varCurrentRecord.'Request ID','Request ID')}
})
Request ID (From DSARB) is expected a record - how can I give it that?
Once I have this in my collection, I am then just patching using
Patch(
'Request Assessment',
ShowColumns(
colTriageDetails,
"Title",
"Request_x0020_Name",
"Summary",
"Where_x0020_will_x0020_the_x0020",
"How_x0020_much_x0020_budget_x002",
"CIOApproved_x003f_",
"Request_x0020_on_x0020_Plan_x002",
"Are_x0020_the_x0020_requirements",
"Is_x0020_there_x0020_a_x0020_cle",
"ArchitectureImpactRating",
"What_x0020_is_x0020_the_x0020_ri",
"What_x0020_is_x0020_the_x0020_li",
"Advancing_x0020_Our_x0020_Digita",
"Collaborating_x0020_With_x0020_O",
"Improving_x0020_Quality_x0020_Fo",
"Making_x0020_Our_x0020_Money_x00",
"Supporting_x0020_Our_x0020_Peopl",
"Transforming_x0020_Our_x0020_Ser",
"Trust_x0020_Strategy_x0020_Align",
"A_x0020_Clear_x0020_Vision",
"Simplicity_x0020_First",
"Rule_x0020_of_x0020_One",
"Invest_x0020_in_x0020_People",
"Strategic_x0020_V_x0020_Tactical",
"Clinically_x0020_led",
"Embrace_x0020_Agile",
"Integration_x0020__x0026__x0020_",
"Database",
"Applications",
"Infrastructure",
"Cyber_x0020_Security",
"Information_x0020_Governance",
"Information_x0020__x0026__x0020_",
"Patient_x0020_Safety_x0020_Prior",
"Significant_x0020_Financial_x002",
"Regulatory_x0020_compliance",
"Scheduled_x0020_plan",
"Fault_x0020_fix",
"Prioritisation_x0020_comment",
"Next_x0020_Step",
"Next_x0020_Steps_x0020_Comment",
"ID",
"Request_x0020_Status"
)
But how would that work if I am patching a record from the collection to a lookup column in Sharepoint?
Thanks