• Aron Schor 24
  • NEWBIE
  • 15 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 4
    Replies
Hi,

I have a Visual Force template using If/Then logic.  If the field is blank, don't show it.  However, it adds a space.  How do I fix?

This code:
{!RelatedTo.Requester_Name__r.Name} Text <apex:repeat value="{!relatedTo.Requester_Name__r}" var="con" > {!IF(ISBLANK(con.Field1__c), NULL, (con.Field1__c) + ',')} {!IF(ISBLANK(con.Primary_Field2__c), NULL, (con.Field2) + ',')} {!IF(ISBLANK(con.Primary_Field3__c), '', (con.Field3) + ',')}</apex:repeat> Text.

Displays:
Name Text Field1, Field2, Field3, Text - This is fine (If 3 fields have a value)
Name Text Field1,   Text.  - This is an issue, due to spacing (If just the first field has a value)

Thanks, Aron!
Hi,

I get error 
Challenge Not yet complete... here's what's wrong:
Could not find a Service Appointment with the Subject of 'Drill Cable Holes'.

I tried this twice in the playground and completed the first part with no issues.  Screen shot attached.

User-added image
I also posted this in the Successs Community but it might be a bit complex/not possible.  I have not gotten a reply.
I recently installed an App that sends out emails and is tied to a Workflow on the Campaign Member object.  It works, but the issue is that since its a Workflow I can’t use the HTML Email Status Report.  I would like to try to create an Email Template on the Contact object that references fields on the Campaign Member object but I am not sure how to link via a formula.  This way I could just do a Mass Email Contacts and then I could use the HTML Email Status Report to see if emails are being read.  Any input would be appreciated.  Thanks.  Aron
Hi...I get this error when I try to “Verify Step”
Challenge Not yet complete... here's what's wrong: Could not find a successful cat dataset training. The training may take a couple of minutes after the model is created.
I have seen this post but the information doesn’t help me:  I have tried deleting/refreshing multiple times.
https://developer.salesforce.com/forums?id=9060G000000UbjnQAC
 
The odd thing is I do see the Dataset Labels after I X out of the errors that generate.
 
Specific errors:
 
I get this error when I try to “Create Dataset.”  (I actually get a few, but they are displayed one at a time and they are similar)
A Component Error has occurred!
 
Message: Access Check Failed! AttributeSet.set(): 'waiting' of component 'markup://c:EinsteinVision_Admin_UI {7:396;a}' is not visible to 'markup://c:EinsteinVision_Admin_UI {7:396;a}'.
 
Component Descriptor: markup://c:EinsteinVision_Admin_UI
 
Filename: https://comptrailhead-dev-ed.lightning.force.com/auraFW/javascript/YJT9Ctwc-kFeKnrsNhEdlA/aura_proddebug.js
 
Function: componentConstructor.Component.set
 
Line: 6255
 
Column: 37
 
Stack Trace: componentConstructor.Component.set()@https://comptrailhead-dev-ed.lightning.force.com/auraFW/javascript/YJT9Ctwc-kFeKnrsNhEdlA/aura_proddebug.js:6255:37
Object.value [as set]()@https://comptrailhead-dev-ed.lightning.force.com/auraFW/javascript/YJT9Ctwc-kFeKnrsNhEdlA/aura_proddebug.js:21262:45
Object.<anonymous>()@components/c/EinsteinVision_Admin_UI.js:31:23
 
I also signed out and signed back and got this error when refreshing the first time.
 
comptrailhead-dev-ed.lightning.force.com says:
 
An internal server error has occurred
Error ID: 557985290-81646 (119852647)

org.auraframework.throwable.AuraExecutionException: apex://EinsteinVision_Admin:7,1: common.apex.runtime.impl.ExecutionException: url
at .(apex://EinsteinVision_Admin:7)
at ui.services.facades.CoreLightningComponentFacadeImpl.runApexAction(CoreLightningComponentFacadeImpl.java:232)
at aura.impl.apex.controller.ApexActionImpl.run(ApexActionImpl.java:72)
at org.auraframework.impl.ServerServiceImpl.run(ServerServiceImpl.java:203)
at org.auraframework.impl.ServerServiceImpl.run(ServerServiceImpl.java:153)
at org.auraframework.http.AuraServlet.doPost(AuraServlet.java:512)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty9.servlet.ServletHolder.handle(ServletHolder.java:845)
at org.eclipse.jetty9.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1693)
at system.filter.AuraDomainRedirectFilter....andlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty9.server.Server.handle(Server.java:518)
at org.eclipse.jetty9.server.HttpChannel.handle(HttpChannel.java:308…

Thanks for any help!

User-added image
Hi,

I get error 
Challenge Not yet complete... here's what's wrong:
Could not find a Service Appointment with the Subject of 'Drill Cable Holes'.

I tried this twice in the playground and completed the first part with no issues.  Screen shot attached.

User-added image
Hi,

I have a Visual Force template using If/Then logic.  If the field is blank, don't show it.  However, it adds a space.  How do I fix?

This code:
{!RelatedTo.Requester_Name__r.Name} Text <apex:repeat value="{!relatedTo.Requester_Name__r}" var="con" > {!IF(ISBLANK(con.Field1__c), NULL, (con.Field1__c) + ',')} {!IF(ISBLANK(con.Primary_Field2__c), NULL, (con.Field2) + ',')} {!IF(ISBLANK(con.Primary_Field3__c), '', (con.Field3) + ',')}</apex:repeat> Text.

Displays:
Name Text Field1, Field2, Field3, Text - This is fine (If 3 fields have a value)
Name Text Field1,   Text.  - This is an issue, due to spacing (If just the first field has a value)

Thanks, Aron!
I also posted this in the Successs Community but it might be a bit complex/not possible.  I have not gotten a reply.
I recently installed an App that sends out emails and is tied to a Workflow on the Campaign Member object.  It works, but the issue is that since its a Workflow I can’t use the HTML Email Status Report.  I would like to try to create an Email Template on the Contact object that references fields on the Campaign Member object but I am not sure how to link via a formula.  This way I could just do a Mass Email Contacts and then I could use the HTML Email Status Report to see if emails are being read.  Any input would be appreciated.  Thanks.  Aron
Hi...I get this error when I try to “Verify Step”
Challenge Not yet complete... here's what's wrong: Could not find a successful cat dataset training. The training may take a couple of minutes after the model is created.
I have seen this post but the information doesn’t help me:  I have tried deleting/refreshing multiple times.
https://developer.salesforce.com/forums?id=9060G000000UbjnQAC
 
The odd thing is I do see the Dataset Labels after I X out of the errors that generate.
 
Specific errors:
 
I get this error when I try to “Create Dataset.”  (I actually get a few, but they are displayed one at a time and they are similar)
A Component Error has occurred!
 
Message: Access Check Failed! AttributeSet.set(): 'waiting' of component 'markup://c:EinsteinVision_Admin_UI {7:396;a}' is not visible to 'markup://c:EinsteinVision_Admin_UI {7:396;a}'.
 
Component Descriptor: markup://c:EinsteinVision_Admin_UI
 
Filename: https://comptrailhead-dev-ed.lightning.force.com/auraFW/javascript/YJT9Ctwc-kFeKnrsNhEdlA/aura_proddebug.js
 
Function: componentConstructor.Component.set
 
Line: 6255
 
Column: 37
 
Stack Trace: componentConstructor.Component.set()@https://comptrailhead-dev-ed.lightning.force.com/auraFW/javascript/YJT9Ctwc-kFeKnrsNhEdlA/aura_proddebug.js:6255:37
Object.value [as set]()@https://comptrailhead-dev-ed.lightning.force.com/auraFW/javascript/YJT9Ctwc-kFeKnrsNhEdlA/aura_proddebug.js:21262:45
Object.<anonymous>()@components/c/EinsteinVision_Admin_UI.js:31:23
 
I also signed out and signed back and got this error when refreshing the first time.
 
comptrailhead-dev-ed.lightning.force.com says:
 
An internal server error has occurred
Error ID: 557985290-81646 (119852647)

org.auraframework.throwable.AuraExecutionException: apex://EinsteinVision_Admin:7,1: common.apex.runtime.impl.ExecutionException: url
at .(apex://EinsteinVision_Admin:7)
at ui.services.facades.CoreLightningComponentFacadeImpl.runApexAction(CoreLightningComponentFacadeImpl.java:232)
at aura.impl.apex.controller.ApexActionImpl.run(ApexActionImpl.java:72)
at org.auraframework.impl.ServerServiceImpl.run(ServerServiceImpl.java:203)
at org.auraframework.impl.ServerServiceImpl.run(ServerServiceImpl.java:153)
at org.auraframework.http.AuraServlet.doPost(AuraServlet.java:512)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty9.servlet.ServletHolder.handle(ServletHolder.java:845)
at org.eclipse.jetty9.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1693)
at system.filter.AuraDomainRedirectFilter....andlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty9.server.Server.handle(Server.java:518)
at org.eclipse.jetty9.server.HttpChannel.handle(HttpChannel.java:308…

Thanks for any help!

User-added image
Hi,

I am stuck at the Create and Train the Dataset step on the Build a Cat Rescue App That Recognizes Cat Breeds Trailhead module.

I have successfully created the lightning component, uploaded the zip file and clicked on the train button but when I try to Verifiy I get the following error message:
"Challenge Not yet complete... here's what's wrong: 
Could not find a successful cat dataset training. The training may take a couple of minutes after the model is created."

Could you please advise ?

Thanks for your help.