I have a PowerApps app that has a field that is supposed to feed into a people picker column in SharePoint online.
I have a data card for "Manager Name" ,which is a people picker column in SharePoint, the card contains a combo box.
The Combo box contains this information which allows it to search Office 365 and return a list of users. I can then choose the user from the list.
This is the information for the data card which should feed into the SharePoint column
I'm not sure what I need to put into "default" and "update" fields which I think is where the issue is arising.
I am fairly new to PowerApps so sorry if this is an obvious question
Assuming your Combobox is working and you are getting the users just fine, you could trt the following:
Default: ThisItem.'Your Column Name'
Update:
{
'#odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims:First(ComboBox4.SelectedItems).Claims,
DisplayName:First(ComboBox4.SelectedItems).DisplayName,
Email:First(ComboBox4.SelectedItems).Email
}
Now, you might need to change the combobox DefaultSelectedItems conditionally (if the FormMode is New, Edit or View)
DefaultSelectedItems
Table({
'#odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: ThisItem.'Your Column Name'.Claims,
DisplayName:ThisItem.'Your Column Name'.DisplayName,
Email:ThisItem.'Your Column Name'.Email
})
Related
I have taken over a project from someone who has left the business.
It is a Microsoft PowerApp which provides users with a form interface to upload items into a SharePoint list.
The submit button in the app works and the function is "SubmitForm(formName)"
My question is how does it know which fields to submit into which column in SharePoint?
for instance if I wanted to create a textbox in the form for "First Name" how would I make the powerapp submit the contents of that textbox into firstname field?
--edit removed screenshot--
I think you lack knowledge of powerapps w.r.t sharepoint.
Go through one of the example mentioned in docs of micro soft and you will get idea of how mapping of fields are done.
Your main concern is mapping fields.
https://learn.microsoft.com/en-us/powerapps/maker/canvas-apps/app-from-sharepoint
If you check your edit form, and click on any of your field/data card you will find settings as below. Here I have created custom column as "NumberColumn" and you can find Data properties same for your field as well.
I have a Sharepoint list with a "Choice" with "Can add values manually" checked.
How do i make a manually added value in a choice column persist so that is available when adding and editing other records?
I created new list on my Office365 SharePoint site. When in classic mode, manually entered values are not available while editing/creating new list items regardless the choices are displayed in a dropdown, radio buttons or as multi select checkboxes. When switching from classic to modern SharePoint experience, manually entered values are available while editing/adding list items. Hope this helps.
I have a problem when I try to autopopulate a people picker filed in infopath 2010 in a sharepoint 2010 form.
I am changing the edit form. In the edit form I want to autopopulate a people picker field (wich is based on a people column of the connected list) based upon another people picker field in the same list. In easy words I want to copy/past a value from one people picker field to another (in the edit form).
This does not work within the edit form. But it works in the new form. Has there anyone an idea for that.
I am not allowed to use coded solutions, only configuration (rules).
Thanks, Thomas
you should pass the 3 attributes/values of one people picker to another.
These are:
DisplayName
AccountId
AccountType
Now you can put a rule that when 1st people picker changes value, it will pass the 3 attributes to the 2nd people picker.
Currently working with dropdown column in the moss 2007.
my question is
I created dropdown column in a list, it has 3 options. Suppose if option1 is selected then the new field (let say a text box) should pop up, if option2 is selected the another new field (say a dropdown should pop up) and similarly for option3. How to make these things show up when certain option in drop down selected? should I need to code for it? Educate me! Article would be a great help.
P.S->> Our organisation isn't so keen in working with infopath, infopath is out of option. Can I code in sharepoint designer itself???
This isn't possible using only SharePoint out-of-the-box (OOTB). It would require building a custom solution. You would need to create a custom field for each option, that checks the value of the choice field and determines whether to hide itself based on that.
I am using SharePoint 2010 and am adding a data view web part to the DispForm page for a custom list. I want to be able to display a history of list items created by the user (NOT currently logged in user). Example:
"User A" adds a new help desk ticket
"User B" views the list item and sees a DVWP that is filtered to display only the results from the list item's creator
Can I do this dynamically using the "created by" field? How would I filter this so that it displays all items created in this list by "created by"? This is for a help desk system I am developing. Essentially I just want to be able to filter based on the list item's creator.
There will be multiple users who will be adding the ticket.
In the dataview properties you have options to display a toolbar over the dataview web part. There are options to Filter,Sort and Group.
Alternatively you can Sort and Group the dataview in SPD based on 'Created By' field. I think this should be the way to do it. The User B should be able to view all tickets grouped by 'Created By' field.
Thanks!