Code Monkey home page Code Monkey logo

quick-actions-everywhere's Issues

Action failed: c:quickActionField$controller$doIni…nnot read property 'hasOwnProperty' of undefined]

I'm trying to implement the Related List Button Example in the documentation.

/apex/quickActionsEverywhere?action=LogACall&relatedId={!Account.Id}&relatedField=WhatId&title=Log A Call

When I click on the button I get the following error:
Screen Shot 2019-11-22 at 11 09 58 AM

I opened the Chrome Developer Tools Console and see its failing in the setIcons method of the quickActionFieldHelper.js Aura code. Specifically, trying access the icons variable. I added some console.log statements and see the icons variable is undefined and window.DataCache is an empty object. When it gets to line 94 "if(icons.hasOwnProperty(key)){" it fails because icons is undefined.

The only setup hiccup I had was the Named Credential wasn't deployed to my sandbox when I used the Github Deploy to Salesforce functionality. I manually created the Named Credential according to the documentation.

Action failed: c:quickActionsEverywhere$controller$flowStatusChange [Cannot read property 'length' of undefined]

I've used QAE in one area successfully linking to a flow.
I replicated my setup but with another flow and get the following error:
This page has an error. You might just need to refresh it. Action failed: c:quickActionsEverywhere$controller$flowStatusChange [Cannot read property 'length' of undefined] Callback failed: serviceComponent://ui.interaction.runtime.components.controllers.FlowRuntimeController/ACTION$runInterview Failing descriptor: {c:quickActionsEverywhere$controller$flowStatusChange}

Stand-Alone Button component

Create a stand-alone button component that can be leveraged in community builder or lightning app builder to open the quick actions everywhere interface.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.