Posted 13 February 2026, 6:31 am EST
Hi, I need to hide preview button and hence setting the canPreview property to false and it is not working as expected. Am using the latest package @mescius/activereportsnet-designer 19.2.0. Please find the below code snippet.
arWebDesigner.create('#ar-web-designer', {
server: {
url: this.getServerUrl()
},
rpx: { enabled: true },
appBar: { openButton: { visible: true } },
data: { dataSets: { visible: true, canModify: true }, dataSources: { canModify: true } },
preview: {
canPreview: false,
openViewer: (info) => console.log(info.applicationTitle)
}
});
