Portal provides an ability to access specific crm data and functions for your customers and partners. Administrators can create multiple portals. Each portal can have its own settings, dashboard, user list, access control settings.
To create portal follow Administration > Portals, click Create Portal button.
Is Active
. If not checked, portal won't be available for anybody.Is Default
. Means that portal will be available by shorter url: http(s)://YOUR_ESPO_URL/portal.Roles
. Specify one or multiple portal roles that will be applied to users logged into portal. More information about portal roles is below.Tab List
. Tabs which will be shown in navigation bar.Dashboard Layout
. Specify dashlets that will be displayed on the home page of the portal. Note that portal users can't configure their dashboard.URL
. Read only field that displays the link you can access the portal with.Administrators can create portal users.
Portal user should be linked to Portal record to be able to access that portal.
Portal roles are similar to regular roles in EspoCRM but with a few distinctions.
account
or accounts
.contact
or contacts
.Assigned User and Teams fields are read only for portal users.
Portal users should be able to create cases, view cases related to their account; they should be able to view knowledge base.
create - yes, read - account, edit - no, delete - no, stream - account
.create - no, read - account, edit - no, delete - no
.You can find the url for your portal in 'URL' field of the portal record. It's also possible to use server configuration tools (such mod_rewrite) to be able to access by different url. For this case you need to fill in 'Custom URL' field.
Custom URL: portal-host-name.com.
<VirtualHost *:80>
DocumentRoot /path/to/espocrm/instance/
ServerName portal-host-name.com
<Directory /path/to/espocrm/instance/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Specify portal record ID instead of {PORTAL_ID}
. Portal record ID is available in address bar of your web browser when you open detail view of the portal record. Like: https://my-espocrm-url.com/#Portal/16b9hm41c069e6j24. 16b9hm41c069e6j24 is a portal record id.
RewriteCond %{HTTP_HOST} ^portal-host-name\.com$
RewriteRule ^client - [L]
RewriteCond %{HTTP_HOST} ^portal-host-name\.com$
RewriteCond %{REQUEST_URI} !^/portal/{PORTAL_ID}/.*$
RewriteRule ^(.*)$ /portal/{PORTAL_ID}/$1 [L]