ctm.getVisitId
The method of JS Bridge functionality is intended to return the Id of the Activity record, from which the Remote Detailing or Self Detailing meeting was launched.
Handler
Use a handler function to describe the output format of the query results, e.g., to display the results of operations or method errors for debugging purposes.
ctm.getVisitId((visitId) => console.log('id of visit', visitId));
The result:
response a031t00000zmm8IAAQ
id of visit a031t00000zmm8IAAQ