tag:blogger.com,1999:blog-2563180596812825704.post5711825787341663014..comments2024-03-20T11:41:12.794-07:00Comments on Forcetrails: Show warning managed package expired/trial versionRahul Gawalehttp://www.blogger.com/profile/17790026688078884559noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-2563180596812825704.post-4376176219637155862021-03-03T08:05:25.433-08:002021-03-03T08:05:25.433-08:00Actually the error is fired when you try to call t...Actually the error is fired when you try to call the AuraEnabled apex from components.Rahul Gawalehttps://www.blogger.com/profile/17790026688078884559noreply@blogger.comtag:blogger.com,1999:blog-2563180596812825704.post-61042374252666945292021-03-03T08:04:36.835-08:002021-03-03T08:04:36.835-08:00Hello Dear Unknown, This will be work fine when yo...Hello Dear Unknown, This will be work fine when your package is in trial version. But for the expired and license not provided case, I think you can handle that in the error handler of aura/lwc component. Aura fires some error when the apex class is not accessible due to licensing, but this I haven't tried yet. If you can give it a try and find something please do let me know.Rahul Gawalehttps://www.blogger.com/profile/17790026688078884559noreply@blogger.comtag:blogger.com,1999:blog-2563180596812825704.post-5015194751113252172021-03-03T06:33:41.540-08:002021-03-03T06:33:41.540-08:00Great post.
Can we do it for Aura Components?
Whe...Great post.<br /><br />Can we do it for Aura Components?<br />When a user doesn't have the access of the package then he doesn't have the access of the Apex class as well. So, the Aura component doesn't able to call the Apex controller because the Apex class is inaccessible.<br /><br />Do we have another way without querying or querying inside the JS controller of aura component?Anonymousnoreply@blogger.com