Can Anyone explain the below requirement clearly ? @
1. I have created a screen with gallery showing the 'ready to foster' animals , filtering accordingly ?
2. For each of those item, when I click 'foster me' button ? what should happen
" Ability to select an animal, enter foster family information and update the status to "claimed
for foster“ on click of a button and the family that the animal is associated with "
Solved! Go to Solution.
Hi @Poovarasan27,
My approach is a Foster Family Portal that assumes the foster family have already been registered via the Model-driven app. A foster family enters the portal and selects an animal to foster based on a shelter location and the status of the animal being "Ready for Foster".
Loading Screen
Animals Ready for Foster Screen
When the user loads into the Animals Ready for Foster Screen, the gallery is already filtering on "Ready for Foster" and the "Shelter Name" which is controlled by the tabs under the header.
Because I have made the assumption that the foster family is already known and this is a portal for foster families to claim an animal, I am taking away a lot of the user input.
The only things a foster family need to do within my app is select an animal and find their name in a dropdown box.
This is all happening on a single screen. When the foster family clicks submit, the animal is updated with the related foster family and the status is updated to "Claimed for Foster".
I am using this formula in my forms OnSuccess property.
Patch(
Animals,
LookUp(Animals,
cr0f4_animalsid = Form2.LastSubmit.Animals),
{
'Shelter Status': 'Shelter Status (Animals)'.'Claimed for Foster',
'Date Claimed for Foster': DateValue1.SelectedDate
}
);
Notify("Form submitted successfully",NotificationType.Success)
The OnSelect of my submit button is set to SubmitForm(Form2)
Not sure if this will answer your questions but at least give you an idea on other ways to approach your solution.
Hi @Poovarasan27,
Part of the Power Automate requirements is to have “a date to arrange to come and pick up
the animal”. To facilitate this, I created a date column in my Animal table called “Date Claimed for Foster”.
I have added this column within my canvas app form with the default property set to Today(). The visible property of the ‘Date Claimed for Foster’ is set to false which hides it from view. Because I am setting the default to ‘Today()’, there will always be a date when the form is submitted.
I then use this within my Power Automate flow to create a pickup date that is 7 days after the claimed date.
How you patch your form will depend on how it is structured, i.e., if the user is entering and selecting information, you should be able to just use the SubmitForm method.
Hey there,
I believe the images below should help you understand better. In my app I created two screens. The family foster screen helps me get the family details and then I am using a Patch function in my button's OnSelect property to add those records to my Foster Family Table. And then in my Pet Foster Screen I have a drop down where I select Claimed for Foster as well as the foster family information that way I can search for my own record I created in the last form and append it. I am also still using a patch function on this screen as well so that it assigns everything to the appropriate family. The picture of the animal on the left was already selected from my gallery so that is the animal I chose to foster.
Hope this helps 🙂
@Oyin - Really appreciate your help and response. You are inspiring me to do this challenge in a better way. Kudos to you.
Can you please share me the screenshot of your homepage ? How do the foster family navigate to the register foster family screen and Pet confirmation page in your app ?
@ZeeScience - can you let me know the logic on how to achieve this requirement ?
"Ability to select an animal, enter foster family information and update the status to "claimed
for foster“ on click of a button and the family that the animal is associated with"
I did that by actually changing the drop down to claimed to foster and then the OnSelect property of my button does all the patching that changes everything
Hi @Poovarasan27,
My approach is a Foster Family Portal that assumes the foster family have already been registered via the Model-driven app. A foster family enters the portal and selects an animal to foster based on a shelter location and the status of the animal being "Ready for Foster".
Loading Screen
Animals Ready for Foster Screen
When the user loads into the Animals Ready for Foster Screen, the gallery is already filtering on "Ready for Foster" and the "Shelter Name" which is controlled by the tabs under the header.
Because I have made the assumption that the foster family is already known and this is a portal for foster families to claim an animal, I am taking away a lot of the user input.
The only things a foster family need to do within my app is select an animal and find their name in a dropdown box.
This is all happening on a single screen. When the foster family clicks submit, the animal is updated with the related foster family and the status is updated to "Claimed for Foster".
I am using this formula in my forms OnSuccess property.
Patch(
Animals,
LookUp(Animals,
cr0f4_animalsid = Form2.LastSubmit.Animals),
{
'Shelter Status': 'Shelter Status (Animals)'.'Claimed for Foster',
'Date Claimed for Foster': DateValue1.SelectedDate
}
);
Notify("Form submitted successfully",NotificationType.Success)
The OnSelect of my submit button is set to SubmitForm(Form2)
Not sure if this will answer your questions but at least give you an idea on other ways to approach your solution.
Thanks @Oyin. I used the inbuilt screen templates and a custom modern theme. The templates make it so much easier to structure the UI.
Dear Community Members, As you may have read, the Power Platform communities are transitioning to a new platform and to access will be set to READ-ONLY mode during the transition. Key DatesTo ensure current learners have adequate support in the final week of the cohort, the Power Up Program Community will transition to READ-ONLY mode starting July 22nd, the platform will transition to READ-ONLY mode until July 28th. Power Apps, Power Automate, and Power Pages communities will be read-only July 16-22, 2024.During this period, members will not be able to start new threads or Kudo, Comment, or Reply to any posts, but will be able to search and review past threads or solutions. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. Learners will be able to sign in to the new Power Up Program community experience, starting July 29th. If you registered for community using your learnwithpowerup account, you will not receive an email, but should be able to sign in successfully if you are signed in to My hub. If you need help with your community account, please submit a request at aka.ms/PPCommSupport We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!
Since its inception in 2022, the Power Up Program has evolved based on feedback from learners and Microsoft Partners and customers. Today's Power Up learners can expect to learn the fundamentals of Microsoft Power Platform in the accelerated seven-week, video-based Power Up Maker course. Hear from Principal Program Manager, Dimpi Gandhi to discover the latest enhancements and meet the Microsoft MVPs, Rory Neary and Charlie Phipps, who partnered with the Microsoft Power Up Program to create the Power Up Maker course to guide learners to use the Microsoft Power Platform to develop custom applications, build dazzling report dashboards, or create efficiencies through automation.
The Power Up Program is a free upskilling program where nontechnical people can learn the fundamentals of Microsoft Power Platform. The Power Up Maker course is a seven-week self-paced virtual learning plan that include video-based objectives featuring Power Apps, Power BI and Power Automate. As a member of the Power Up Community, you can grow your skills and build connections. You can post questions to get help with the curriculum and hands-on exercises from experts and peers in the product boards. Check out the Community Information & Feedback board to find help or provide feedback with the community experience, and please take time to post in the Social board to tell us more about yourself. If you're new to the Power Up Program and looking for information to register. You can sign up at PowerUp.Microsoft.com.