Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamics 365 Custom Portal does not submit data

(0) ShareShare
ReportReport
Posted on by 35

Hi,

1. I have Dynamics 365 Test Enviroment (2020 release wave 2)

2. created Atest Entity (Table)

pastedimage1609090576893v1.png

3.Created Main form (default):

pastedimage1609090636506v2.png

3. Created PowerApp Portal From blank

pastedimage1609090695845v3.png

4. Added Form into my test custom Portal with new created table and form (save, publish done). Any coding. 

pastedimage1609090780861v4.png

5. After browse I see correct view. after data entry i push [Submit], got "Your details has been successfully submitted"

pastedimage1609091007274v5.png

6. Name is required. If I enter nothing I got error

pastedimage1609091644235v7.png

7. I added my test table (Entity) to Dynamics 365 CRM but it looks saved data are null

pastedimage1609091680417v8.png

8. Name is required but saved as empty. Created on Date is correct. Every time I enter new value in Custom portal I have new record in CRM but name empty, create date is correct.

The same I get and with others tables with more data fields.

What I do not correct?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Custom Portal does not submit data

    You can use the same form in CRM and the portal, but we always make them separate.  Separate is the better practice, so you can avoid accidentally exposing anything you want to keep out of customer sight.

    That error message, could it be the entity permissions?  Does anonymous security allow create?

  • DDarius Profile Picture
    DDarius 35 on at
    RE: Dynamics 365 Custom Portal does not submit data

    Thanks,

    With new Page it is working. I did another test. Looks like bug for me or is that feature?

    Can I use the same form in Dynamics CRM and in the Portal?

    1. I created form in Portal:

    pastedimage1609142063646v1.png

    2. It works in CRM

    pastedimage1609142130540v2.png

    pastedimage1609142167274v3.png

    3. in Portal this form do not have value "Active" near Status and Owner is missed (what is understood because king of anonymous page).

    When I press Submit I get not user friendly error:

    pastedimage1609142408494v4.png

    4. I dont get this error if General Section is hidden

    pastedimage1609142480020v5.png

    5. What means form works different in CRM and Portal? Good practice is create different forms?

    Marry XMas and Happy New Year!

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Custom Portal does not submit data

    Hi DDarius,

    Through my test, you can’t add form in home page directly. if so, the field value is null even though you fill field before clicking submit button.

     pastedimage1609125076133v7.png

    pastedimage1609125167242v8.png

    So you can create new page, then add ‘form’ components to the new page.

    1.Create new page.

    pastedimage1609124675754v1.png

    2.Add ‘form’ components to it.

     pastedimage1609124697831v2.png

    3.Test.

    pastedimage1609125006473v6.png

    pastedimage1609125224664v9.png

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • DDarius Profile Picture
    DDarius 35 on at
    Dynamics 365 Custom Portal does not submit data

    Hi,

    1. I have Dynamics 365 Test Enviroment (2020 release wave 2)

    2. created Atest Entity (Table)

    2110.pastedimage1609090576893v1.png

    3.Created Main form (default):

    1641.pastedimage1609090636506v2.png

    3. Created PowerApp Portal From blank

    2084.pastedimage1609090695845v3.png

    4. Added Form into my test custom Portal with new created table and form (save, publish done). Any coding. 

    1070.pastedimage1609090780861v4.png

    5. After browse I see correct view. after data entry i push [Submit], got "Your details has been successfully submitted"

    0511.pastedimage1609091007274v5.png

    6. Name is required. If I enter nothing I got error

    5047.pastedimage1609091644235v7.png

    7. I added my test table (Entity) to Dynamics 365 CRM but it looks saved data are null

    7573.pastedimage1609091680417v8.png

    8. Name is required but saved as empty. Created on Date is correct. Every time I enter new value in Custom portal I have new record in CRM but name empty, create date is correct.

    The same I get and with others tables with more data fields.

    What I do not correct?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans