getOrCreateRibbon( )


Retrieves a ribbon by name, or creates a ribbon if one with the passed ribbonName doesn't exist.

Method Declaration
Copy
Method Parameters
ribbonNamestringRequired

Ribbon name to retrieve or create.


optionsGetOrCreateRibbonOptions
Returns
Return Type:Promise<GetOrCreateRibbonResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?