ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SaaS functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a SaaS pricing.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
Example
S is dynamic saasSite
Pricing2010 is saasPricing
 
S = SaaSAdminFindSite("Forum")
Pricing2010..Name = "Promo 2010"
 
// Create a "Promo 2010" pricing a on the "Forum" site
SaaSAdminAddPricing(Pricing2010, S)
Syntax

Adding a pricing (via saasxxx variables) Hide the details

<Result> = SaaSAdminAddPricing(<Pricing> , <SaaS site>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Pricing>: saasPricing variable
Name of saasPricing variable corresponding to the pricing that will be added into the SaaS site.
<SaaS site>: saasSite variable or character string
SaaS site that receives the new pricing.

Adding a pricing identified by its name Hide the details

<Result> = SaaSAdminAddPricing(<Pricing> , <Site>)
<Result>: Boolean
  • True if the addition was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Pricing>: Character string
Name of new pricing to add into the SaaS site.
<Site>: Character string
Name of SaaS site that receives the new pricing.
Component: wd290com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help