Retrieves a comment thread with a unique resource ID, or creates one if it doesn't exist.
The setResourceId()
function replaces the comments thread in the WixComments
element with a different comment thread. You can create new comment threads and transition between threads by calling the function.
Each comment thread is referenced by a unique resource ID that is arbitrarily chosen when the function is first called on that thread.
The unique resource ID for the new comment thread.