| | Uiinfrastructure API Docs | |
| ImgSvrURLHelper.Init Method |
Clients need to call this method only once per application. This method essentially allows you to set your Image Server default preferences. For example, by setting the product name, you don't have to specify it again each time you call GetURL.
public static
void Init(
string _strImageServerBaseURL,
string _strSecureImageServerBaseURL,
string _strDomainName,
string _strProductName,
bool _bUseTrailingSlashByDefault);
Parameters
-
_strImageServerBaseURL
- -- The base Image Server URL (http://)
-
_strSecureImageServerBaseURL
- -- The secure base Image Server URL (https://)
-
_strDomainName
- -- The Domain namespace for the product (i.e. "plumtree")
-
_strProductName
- -- The name of the product using the Image Server URL heloer. Examples include "portal" and "collab."
-
_bUseTrailingSlashByDefault
- -- Mark tbis as true if you want your URLs to end with a "/".
See Also
ImgSvrURLHelper Class | com.plumtree.uiinfrastructure.statichelpers Namespace