• Daniel Glaser 12
  • NEWBIE
  • 19 Points
  • Member since 2015
  • Senior
  • RelationEdge

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 6
    Replies
I followed the instructions to create a macro, create a Case with subject "Design issue with mechanical rotor", and ran the Macro. The feed shows the email along with the text "The Macros Team is working on your case" in the email Body. Yet I get this message when I check the Challenge:
"Challenge Not yet complete... here's what's wrong: 
The case with the subject 'Design issue with mechanical rotor' does not includes an email update in the case feed with the text 'The Macros Team is working on your case'. Make sure you run your macro on this case."


I even created a new Case with the correct Subject with the same results.

My Email Template has the following information:
Dear {!Contact.FirstName}, 

{!Case.Solution_Description} 

The Macros Team is working on your case 

Thank you, 

{!User.Name} 
{!Organization.Name} 

Your comment: 

{!Case.Description}
I am attempting to use the examples on Trailhead Lightning component "Using JavaScript Controllers with Components" and when I use the examples that use the $A.createComponents none of the JS work.

I created a component createComponent.cmp with the following code:
<!--docsample:createComponent-->
<aura:component>
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
    <p>Dynamically created button</p>
    {!v.body}
</aura:component>

and a controller createComponentController.js with the following code:
/*createComponentController.js*/
({
    doInit : function(cmp) {
        $A.createComponent(
            "ui:button",
            {
                "aura:Id": "findableAuraId",
                "label": "Press Me",
                "press": cmp.getReference("c.handlePress")
            },
            function(newButton){
                //Add the new button to the body array
                if (cmp.isValid()) {
                    var body = cmp.get("v.body");
                    body.push(newButton);
                    cmp.set("v.body", body);
                }
            }
        );
    },

    handlePress : function(cmp) {
        console.log("button pressed");
    }
})

This is right out of the book. The message "Dynamically created button" shows on the screen, but there are no buttons.
I am doing the Handling Events with Client-Side controllers for the Lightning components study. I created the following:
the javascript modules : PhoneNumberInput and PhoneNumberOutput
The phone number input file contains
<aura:component >
    <aura:registerEvent name="PhoneNumEvent" type="c:PhoneNumEvent"/>
    <ui:inputPhone aura:id="phone" label="phone" />
    <ui:button label="Show Phone" press="{!c.postphone}" />
</aura:component>

The event fle PhoneNumberEvent.evt  - I believe that this is the file name I was supposed to use.
and the application file PhoneNumber.app  - Not sure what file name to use.
 
Everything runs fine, the problem is when I check the results I get the error:
Challenge not yet complete... here's what's wrong:
The 'PhoneNumberEvent' event is not of type 'APPLICATION'.


 
I followed the instructions to create a macro, create a Case with subject "Design issue with mechanical rotor", and ran the Macro. The feed shows the email along with the text "The Macros Team is working on your case" in the email Body. Yet I get this message when I check the Challenge:
"Challenge Not yet complete... here's what's wrong: 
The case with the subject 'Design issue with mechanical rotor' does not includes an email update in the case feed with the text 'The Macros Team is working on your case'. Make sure you run your macro on this case."


I even created a new Case with the correct Subject with the same results.

My Email Template has the following information:
Dear {!Contact.FirstName}, 

{!Case.Solution_Description} 

The Macros Team is working on your case 

Thank you, 

{!User.Name} 
{!Organization.Name} 

Your comment: 

{!Case.Description}
Anyone facing trouble with Module Service Cloud Macros - Create and Run Macros?

I can't see Email Action on page layout. I got the same error of this link: https://help.salesforce.com/articleView?id=Why-do-I-receive-an-error-running-the-Macro-saying-that-the-action-is-not-available&type=1&language=en_US

I found users claiming about similar question that seems to be the same issue on this link: https://success.salesforce.com/ideaView?id=08730000000l1tPAAQ&sort=2
 
LeX Superbadge Challenge 4 error

LeX superbadge challenge #4:

I followed this post https://developer.salesforce.com/forums/?id=906F0000000kEDkIAM however it doesn't seem working with me. Has anything changed lately in the requirement validation process. Appreciate your help!
I am doing the Handling Events with Client-Side controllers for the Lightning components study. I created the following:
the javascript modules : PhoneNumberInput and PhoneNumberOutput
The phone number input file contains
<aura:component >
    <aura:registerEvent name="PhoneNumEvent" type="c:PhoneNumEvent"/>
    <ui:inputPhone aura:id="phone" label="phone" />
    <ui:button label="Show Phone" press="{!c.postphone}" />
</aura:component>

The event fle PhoneNumberEvent.evt  - I believe that this is the file name I was supposed to use.
and the application file PhoneNumber.app  - Not sure what file name to use.
 
Everything runs fine, the problem is when I check the results I get the error:
Challenge not yet complete... here's what's wrong:
The 'PhoneNumberEvent' event is not of type 'APPLICATION'.


 
This is to solve one of the trailhead challenge. 

How do we assign multiple values to an attribute by not using default paramenter instead value parameter. For example.

I have a component as below.

<aura:component name="DayOfTheWeek" type="string" value="Monday" : "Tuesday" : "Wednesday">

and I would like to read these values and find the week of the day dynamically, as we have $Browser and $Locale, do we have another binding variable to check on day, date and time values.

Thanks.