Here is what I currently I have (my screens) for SharePoinIntegration:
I would like some assistance with the:
in order to achieve:
thank you in advance
It's difficult to achieve that on the New button as you just have 1 Power Apps form per list. You could build your own New link to create a new entry in Power Apps and pass along your own parameters (such as your content types). However, with the ootb New button from SharePoint it's quite difficult to do that (hint: SPFx extension could help with that).
However, to edit existing items it's easy to switch between 2 forms. To do that, follow below instructions:
Step 1
If you'd like to adjust your New Button in SharePoint, you'd need to create so-called Content Types. There are a lot of videos/blogs on this topic.
Simply create one, add it to your list and find out its ID before going to step 2
Step 2
Go to your FormNewOffboard/FormNewOnboard's Visible property and add the following:
// FormNewOffboard
If(FormNewOffboard.Selected.'Content type'.Id = "<content type id>",true,false)
// FormNewOnboard
If(FormNewOnboard.Selected.'Content type'.Id = "<content type id>",true,false)
This will hide the form based on the button you clicked. Perhaps it would make more sense to simply have ONE EditForm and show/hide fields based on the Content-Type. It would make your app faster, and less difficult to administer.
And my suggestion would even be to have 2 lists instead. One for onboarding and one for offboarding. This way you could achieve everything you want, without cluttering your Onboarding list with fields only the Offboard list needs. And the other way around...
Let me know what you think.
Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.
thank you @FabianAckeret for your reply.
I did look a bit about the "New Button in SharePoint, you'd need to create so-called Content Types" and it seems challenging...
concerning the forms, I made in past a SharePoing Integration three forms I followed the below instructions:
https://powerapps.microsoft.com/en-us/blog/separate-custom-forms/
so I was thinking somehow to integrate them..
do you have any good link for what you mention of the "New Button in SharePoint, you'd need to create so-called Content Types?"
thank you
Hi @kouliscon
Sure.
This link should help you to create a content type and add it to your list. When adding the content type, make sure to select Item as the parent content type.
Kind regards,
User | Count |
---|---|
159 | |
84 | |
70 | |
64 | |
60 |
User | Count |
---|---|
206 | |
147 | |
94 | |
84 | |
68 |