You need to sign in to do that
Don't have an account?
KPJS
Simple Visualforce Page not working
I installed Kcloud's Mass Actions app. I followed the instructions on how to use their app with custom objects, or standard objects not supported. I need it for QuoteLineItems. However, despite this is exactly as instructed, I keep getting an error stating: "Error: Apex class 'MassDeleteController' does not exist."
It exists. Just for fun, I have added a variety of controllers to see if it recognizes any, and it doesn't. Something is wrong with the code. Anyone? I did email them but haven't heard back. We need to use this ASAP. Thanks!
<apex:page standardController="QuoteLineItem" lightningStylesheets="true"
action="{!Redirect}" recordSetVar="Records" extensions="MassDeleteController">
<apex:pageMessages></apex:pageMessages>
</apex:page>
It exists. Just for fun, I have added a variety of controllers to see if it recognizes any, and it doesn't. Something is wrong with the code. Anyone? I did email them but haven't heard back. We need to use this ASAP. Thanks!
<apex:page standardController="QuoteLineItem" lightningStylesheets="true"
action="{!Redirect}" recordSetVar="Records" extensions="MassDeleteController">
<apex:pageMessages></apex:pageMessages>
</apex:page>
Root cause: The apex class MassDeleteController is part of managed package and needs to be referenced with its namespace.As you can see in below image, the namespace is Kcloud_Actions for this apex class from the Kcloud package.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
All Answers
Can you remove the reference from the page, save (without the dependency) - add it back and save again and see if it works this way? Thanks
Root cause: The apex class MassDeleteController is part of managed package and needs to be referenced with its namespace.As you can see in below image, the namespace is Kcloud_Actions for this apex class from the Kcloud package.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you