question

JayHolman-1038 avatar image
0 Votes"
JayHolman-1038 asked EmilyDu-MSFT commented

Populate date from calendar view to custom form

I have a custom form for my SP list. I have created a modern calendar view on the list. When selecting +New on any given date, the custom form opens but does not populate the date selected. I noticed that the standard form does populate the date selected. Is there a parameter I can pass to the custom form so it defaults to the date selected?

sharepoint-dev
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JayHolman-1038

How did you design your custom form?

What does "populate the date selected" mean? Whether there is a date and time column with default value in the custom form and it does not populate default value in the calendar view?


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·

Custom form was built in PowerApps. Right now I have the date field as Today on a New form and Parent.Default on an Edit. When looking at the SP list using modern calendar view, I have the option to start a new form directly from any given date by clicking +New in the top right corner of the date box. In a standard form, the date of the box selected will populate to the form by default. I want to modify the custom form to do the same. When I open the standard form in PowerApps the date field is set to Parent.Default. I know the data exists, just don't know how to pull it into the custom form.

199325-image.png


0 Votes 0 ·
image.png (32.5 KiB)

1 Answer

EmilyDu-MSFT avatar image
0 Votes"
EmilyDu-MSFT answered EmilyDu-MSFT commented

@JayHolman-1038

Per my test, default view and calendar view use the same custom form. You could design form as following picture shows.

199537-image.png

Result:

199602-image.png


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (45.1 KiB)
image.png (10.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JayHolman-1038

I’m checking how the things are going on about this issue. Whether the answer helps you?

If there is any problem with this issue, feel free to let me know.

0 Votes 0 ·

@JayHolman-1038

I am looking forward to your feedback if there is any update.

Please remember to update this thread if you have any progress.

Thank you for your understanding.

0 Votes 0 ·