Search...
onCategoryCreated( )
Developer Preview
A new category was created.
Syntax
function onCategoryCreated(event: CategoryCreated): void
onCategoryCreated Parameters
NAME
TYPE
DESCRIPTION
event
Optional
CategoryCreated
Returns
This function does not return anything.
Return Type:
void
Was this helpful?
onCategoryCreated example
Copy Code
12 export function wixForum_onCategoryCreated(event) {3 const eventId = event.metadata.id4 const entityId = event.entity._id;5 }67