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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add a template data so...
Power Apps
Unanswered

Add a template data source to existing collection

(0) ShareShare
ReportReport
Posted on by

Hi

 

Can anyone assist please?

 

I have a form which creates a line in a SP list. Part of the list includes space for a job number and job name. I’d like to be able to add a set number of pre-filled lines to this data source based on a choice. For example if the person chooses ‘job a’ it adds an additional six lines which are pre-filled from probably another SP list. My main question is how can I make sure that this works and each line which is added has the same job number and job name added as well?

 

Perhaps a hidden gallery which adds x number of lines but I also need to make sure the job name and job number get added too?

 

Many thanks. 

 

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at

    Hi @jed76 ,

     

    To me your question seems to go against the rules of database normalization and basically just duplicate data, growing your database without good reason.

     

    However, if you wish to proceed, you can insert a LookUp function in the default properties of the relevant datacards to:

     

    With(
    	{_ColumnValue: ThisItem.ColumnName},
    	If(
    		IsBlank(_ColumnValue),
    		LookUp(DataSource, JobTitle=ComboBox.Selected.JobTitle,
    		_ColumnValue)
    	)
    )
  • jed76 Profile Picture
    on at

    What would you suggest as a better solution then? Many thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard