Can you put a form action tag in SharePoint online to post to aspx file?

Richard 1 Reputation point
2022-08-27T15:15:37.297+00:00

Can you put a form action tag in SharePoint online page to post to aspx file that is on prem? Or maybe would be better to re-do the target application in PowerApps instead -

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,704 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,116 Reputation points
    2022-08-29T07:27:03.733+00:00

    Hi @Richard ,

    According to my research and testing, unfortunately, there is currently no way to put a form action tag in SharePoint online page to post to the .aspx file on prem. Thanks for your understanding.


    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.



  2. Bruce (SqlWork.com) 56,846 Reputation points
    2022-08-30T17:52:06.093+00:00

    you can do this with a Sharepoint add-in:

    https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-add-ins

    Sharepoint add-ins are written in javascript. the add-in would would just render a form with the desired action. you could use ajax to do the post.

    0 comments No comments