Closed forceDotMom closed 1 year ago
This looks like it's a JavaScript issue. I'll add it to the next release, once I've reproduced it. Thank you.
Please make sure you have 4.2.0 installed (minimum required version for PE).
@forceDotMom Please install this version and see if the problem is still there. Thanks! https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5f000000rKJ9AAM
@dschach I'm having same issue, installed the version you posted just above but still running into the same problem of the lookup fields still not pulling any data to be able to select either (irregardless of looking up an action plan template, opportunity, account, etc.)
@wtupyo That looks like a Javascript issue. The picklist should not look like that. In Chrome, with JavaScript enabled, the picklist should render as a LEX picklist. Can you please post the page source for that Related Object section in a comment here? Thank you.
This is what it looks like for me:
You may need to check your browser's console to see if there are any error messages there.
Please share the page source for this section (Salesforce sometimes moves source around; it's weird, I know) - If your browser is blocking JavaScript, this could be the reason.
@forceDotMom @wtupyo Do the User lookup fields work for you?
I'm not sure if makes any weird difference (you never know!) but I am on a M1 Mac and not Intel. I only bring this part up because Chrome does the same issue as Safari, unless it's an issue with my Salesforce directly (Professional). I can use any other lookups throughout Salesforce it's just ones related to Action Plans package itself. I can always open a ticket with Salesforce if it's just a me issue and your update resolved the problem for the original poster but it sounded like they were having the same thing as myself happen and also on Professional Edition.
Javascript is on for Safari (I never have a reason to turn it off unless troubleshooting).
Error log from Chrome
{
"faultcode": "sf:API_DISABLED_FOR_ORG",
"faultstring": "API_DISABLED_FOR_ORG: API is not enabled for this Organization or Partner",
"detail": {
"UnexpectedErrorFault": {
"exceptionCode": "API_DISABLED_FOR_ORG",
"exceptionMessage": "API is not enabled for this Organization or Partner"
}
}
}
Error log from Safari
[Error] Failed to load resource: the server responded with a status of 500 (Server Error) (54.0, line 0)
[Error] {faultcode:'sf:API_DISABLED_FOR_ORG', faultstring:'API_DISABLED_FOR_ORG: API is not enabled for this Organization or Partner', detail:{UnexpectedErrorFault:{exceptionCode:'API_DISABLED_FOR_ORG', exceptionMessage:'API is not enabled for this Organization or Partner', }, }, }
(anonymous function) (connection.js:1015)
(anonymous function) (connection.js:1824)
(anonymous function) (connection.js:1763)
(anonymous function) (connection.js:1413)
searchRecords (ActionPlanCreation:206)
onkeyup (ActionPlanCreation:166)
[Error] Failed to load resource: the server responded with a status of 500 (Server Error) (54.0, line 0)
[Error] {faultcode:'sf:API_DISABLED_FOR_ORG', faultstring:'API_DISABLED_FOR_ORG: API is not enabled for this Organization or Partner', detail:{UnexpectedErrorFault:{exceptionCode:'API_DISABLED_FOR_ORG', exceptionMessage:'API is not enabled for this Organization or Partner', }, }, }
(anonymous function) (connection.js:1015)
(anonymous function) (connection.js:1824)
(anonymous function) (connection.js:1763)
(anonymous function) (connection.js:1413)
searchRecords (ActionPlanCreation:206)
onkeyup (ActionPlanCreation:166)
Are you in a Professional Edition org? If so, then you need to install the latest version of ActionPlans. You should have 4.2.1 showing in your org.
@dschach yup that's what is installed
I can always swivel to open a ticket if you think it might be something that Salesforce may need to fix within our org going. Troubleshooting doesn't scare me!
Version 4.2.1.5 / 4.2.1 is the version you SHOULD have installed. If you're still getting that error, then you will need to open a case with Salesforce because the app should have been labeled as being an Aloha app - so it should not require you to have API enabled.
Sweet deal - I'll loop them in and let you know what they find (in case it's relevant to others or OP having same issue).
Sorry for the slow reply. I have just started a new role, and my inbox checking routine is still discombobulated. My experience looked just like what @wtupyo shared in her screenshot. I was working on a PE org for a client I no longer have access to, or I would log in and check. I will ping the person who stepped in for me, and see if they can confirm. So glad this package has been updated and is being managed. It has long been one of my favorites.
Received a response on the ticket I had open with Salesforce @dschach and they are redirecting me back to you that it appears to be an issue related to the plugin and not something on their end.
Yes, I'm not surprised that they kicked it back to that. Let me do some digging and see if the new version I'm working on will have the permission to be in PE orgs.
I have an update: There is currently a Case open with Salesforce to get Aloha status enabled. I had been told that it was done before, but we're getting it done now!
I have an update: There is currently a Case open with Salesforce to get Aloha status enabled. I had been told that it was done before, but we're getting it done now!
That's great news! Did they by chance give you a timeline of having the status corrected? I will be absolutely thrilled when I don't have to switch between classic and lightning just to apply action plans 😅
@dschach did Salesforce ever get back to you on an estimated date of getting Aloha status corrected for this to work? I'm trying real hard to not go back to Zoho (their workflow building is nicer than SF's but they don't have any plugin or functionality even close to your ActionPlans).
I hope all is okay @dschach with you! I was hoping if there was an update on getting Aloha status corrected so that the lookup works on Professional Edition in lightning. I'm sure there are others also waiting on an update as well.
@wtupyo I'm surprised. I opened a case and they told me that it was resolved. Maybe when I release this next version it will happen.
Bad news. The use of AJAX toolkit may be the source of the problem. I have found some good code that may work in its place. We'll release a new version this weekend. If that is given Aloha status, we're good. If not... I'll use this new code to try going a different route.
Good news. Getting to the bottom of this. It looks like Visualforce remoting will help. I'm putting together some code that will look good and work well, and then I'll push a large update.
Sounds great!! I'm excited for it to work in Lightning and not have to swivel to classic or use mobile app to add action plans :-)
Woo hoo!
On Wed, Sep 14, 2022 at 5:32 PM wtupyo @.***> wrote:
Sounds great!! I'm excited for it to work in Lightning and not have to swivel to classic or use mobile app to add action plans :-)
— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/ActionPlansV4/issues/32#issuecomment-1247434601, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHK2GSD2V22IIEPLYK4NGLV6JVCPANCNFSM5WDSX3XQ . You are receiving this because you were mentioned.Message ID: @.***>
I'm having some trouble accessing the repository. In the meantime, please install this in a professional edition sandbox and let me know how it goes. https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5f000000rL9JAAU
Thanks!
On Wed, Sep 14, 2022, 19:11 Brandy Colmer @.***> wrote:
Woo hoo!
On Wed, Sep 14, 2022 at 5:32 PM wtupyo @.***> wrote:
Sounds great!! I'm excited for it to work in Lightning and not have to swivel to classic or use mobile app to add action plans :-)
— Reply to this email directly, view it on GitHub < https://github.com/SalesforceLabs/ActionPlansV4/issues/32#issuecomment-1247434601 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAHK2GSD2V22IIEPLYK4NGLV6JVCPANCNFSM5WDSX3XQ
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/ActionPlansV4/issues/32#issuecomment-1247486378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE3QML6KKUVBJODHQ7VDE3V6KAVRANCNFSM5WDSX3XQ . You are receiving this because you were mentioned.Message ID: @.***>
@dschach I was able to install in a P.E. sandbox environment, and it is able to lookup action plan templates via the search box as expected, but when selecting an action plan it refreshes the 'new action plan' page but doesn't actually load the selected action plan details and tasks to add to opportunity/account/contact.
@dschach any updates on this? I'm really hoping it can get working in P.E. :-(
@dschach any updates? It's looking like this has been abandoned or will not actually support P.E. in which case it should be updated to exclude this when looking at plugins to add to Salesforce environments... :-\
There's a new beta version that can be installed in PE sandboxes. Give it a shot? I can't create PE scratch orgs, so I'll need your help @wtupyo
https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5f000000rM1zAAE
Installed on my PE sandbox org, after uninstalling the last test version completely first.
What's working now that wasn't before:
What's not working: Using the Create Action Plan menu button to create from a template
Thanks. Progress ... I'll get on that last item.
New beta installed. When searching for an Action Plan Template to add, receiving a repeating error:
line 1:76 no viable alternative at character '\'
Thanks - I swear that I run things through testing... still getting there.
I've done my share of testing systems and updates with prior jobs, and know you fix one thing to break another - rinse repeat until it's at the 95% working mark! 😆
One more... https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5f000000rM66AAE
I think this may actually work. We had a problem with one intentional "escape single quotes" and one unintentional one that it seems Salesforce just decided to spring on us. Change made in visualforce remoting methods.
Successfully was able to install, set up an action plan with users assigned to tasks - then successfully attached an action plan template to an opportunity with everything carrying over and all look ups fields working. Was also able to successful delete a partially-completed action plan with the completed tasks remaining in the history. This seems like a win/win version!
Whew! Thanks! I will promote this version and we'll get it going.
At some point I need to do some other fixes, but I may just upgrade the whole thing to lwc and leave odd bits like "&" in an Account name being shown as "&" in there. People can fix the name of desired.
Sent via mobile. Please excuse brevity.
On Fri, Mar 10, 2023, 22:02 wtupyo @.***> wrote:
Successfully was able to install, set up an action plan with users assigned to tasks - then successfully attached an action plan template to an opportunity with everything carrying over and all look ups fields working. Was also able to successful delete a partially-completed action plan with the completed tasks remaining in the history. This seems like a win/win version!
— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/ActionPlansV4/issues/32#issuecomment-1464837108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE3QMN434JIFHGUU5Z2TXDW3QIRFANCNFSM5WDSX3XQ . You are receiving this because you were mentioned.Message ID: @.***>
@dschach do you know when this will be available or update pushed in Salesforce? Much appreciated :-)
@wtupyo Are you referring to the latest version being available on AppExchange? 4.3.0 is currently available on the AppExchange.
I just got back from vacation!! My assistant kept telling me no update *ugh I found it and took care of the update myself - much appreciated!
Lookup field to select parent record in create Action Plan flow shows nothing. Lookup field to select AP Template in single record flow shows nothing.
Sorry this isn’t precise, I’m working from memory here.
Expected behavior When typing an account name In the lookup search field, expect a list of matching options When typing in an Action Plan template name in the lookup search field, expect list of available AP templates
Screenshots Sorry, I don’t have access anymore
Environment (please complete the following information): Chrome browser Mac OS Professional Edition org
Additional context Add any other context about the problem here.