Forum Discussion
Override NewForm, DisplayForm, EditForm with SharePoint Provider-Hosted Add-In
- miguelisidoroFeb 01, 2018Iron Contributor
Hello,
Some more details on my scenario.
An app part may be used but it doesn't address my requirement, sorry if I wasn't clear enough.
I don't want to implement listing for the app since SharePoint does that for me using SharePoint list native features where I can create views, filter, order, etc the information I have in the List.
The data when the form is submitted to several Lists but there is one main List from where I would like the user interaction to happen.
So what I would like to is from the native main SharePoint List (modern experience if possible, classic experience if not possible in modern experience), to have the following:
- The new button in the SharePoint List to open my provider-hosted app
- When I click the item in the List, to be able to open and edit the data in my provider-hosted app (I can create a calculated column in the List if needed)
For the user experience to be seamless and even if the search results return an item form my main Process SharePoint List, I would like that when the user clicks the link, it opens in my provider-hosted app (I configure a Content Search Web Part for this but would like to avoid it).
The most elegant solution I see here is to override the NewForm, EditForm and DisplayForm for the SharePoint List to my provider-hosted app and if possible using the modern experience.
I was thinking in something like
https://sharepoint.stackexchange.com/questions/130734/custom-display-edit-new-forms-in-a-o365-provider-hosted-app
- Is this possible using modern List experience?
- Is this possible using classic experience?
Thanks,
Miguel
- miguelisidoroJan 31, 2018Iron Contributor
Hello Juan,
For the present, the only thing you can do using SPFx is web parts, not full page applications. Using a provider-hosted add-in, I can choose whatever technology I want to implement the add-in (ex: MVC with Knockout JS, Angular, etc).
When full pages becomes available in SPFx, I will consider it as an option.
Can you please confirm that it is possible to override the NewForm, DisplayForm, EditForm to the URL of a Provider-hosted addin?
Thanks,
Miguel