function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kkaalkkaal 

Where in the schema do I find the Partner Portal info?

In our org, we have several partner portals.

 

Now we need to log in from contacts (VF page). But we cannot find the URL for each portal. In the setup we find everything including the login URL for each portal.

 

Were do I find this information in the schema?

jhurstjhurst

kkaal,

 

The Login URL is not exposed in the Metadata API at this time.

 

There are a couple of options:

 

1. In you VF page hardcode the URL values.  This should be OK, as the Portal IDs should never change.  You would only have to do modifications if you disabled a Portal.

2. Create a customer object that has one record per Portal.  You can then query this table in your Apex Code and dynamically display the portals.

 

Hope this helps.
jay