I have a mobile application in development and I want to connect the mobile gui to the SF so we can see what we are developing. I already have a working connection to our test-IAM, which is located on a different instance .
I am using SF 2018.3, Indicium
To connect to our test-IAM I am using these settings:
Meta source = IAM
URL = https://url/mprod/api/iam
Where mprod is the application in the IIS and the corresponding IAM is located at SERVER/test_instance.
I want to connect to our SF which is located at SERVER/dev_instance. This does not work. Now I have the following questions:
- Do I need to make a separate application in the IIS to connect tot he SF?
- I already did so, and I called the application sf, in the appsetting: server = SERVER\\dev_instance ;database = sf_database. Is this correct?
- What will my URL look like?
I think it should be https://url/sf/api/sf. However, this leads to a 404 error. - When I try to retrieve the metadata (https://url/sf/api/sf/$metadata) I receive a 401 not authorized error. In the runtime config I have activated my login, what else could be wrong?
- Finally, what more could I do to find the source of the problem?
- Little side-question: why do I need to use /api in the URL? There is nothing in the documentation that refers tot his part of the URL. The original URL was provided by Thinkwise, I have no clue what this /api is needed for.