Multiple SharePoint Applications Pointing to the Same MVC Project

I have more than two SharePoint applications, and I want them to move into a single MVC project with multiple areas.

SharePoint Applications:

  • CRM
  • project management

MVC Areas

  • base / CRM
  • base / project management

I configured App Manifest to specify the correct URL in each of the SharePoint applications:

Start Page: base/CRM

Now the problem is this:

1. The web.config file contains only 1 ClientId, but each SharePoint application requires its own ClientId. How to get the correct ClientId to be selected by the respective applications?

2.. , TokenHelper.cs , , - CRM URL- , . ?

+4
1

"" SharePointContext.cs TokenHelper.cs, .

( ), , , .

0

All Articles