- Henrique Ortiz
- NEWBIE
- 45 Points
- Member since 2017
- Process Analyst
- Fael - Apollo Global
-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
1Likes Given
-
4Questions
-
9Replies
How do I reset my playground?
How do I reset my playground to its original condition and remove all previous customizations, so that the DreamHouse sample application can be installed?
- J Michael Summitt
- August 25, 2017
- Like
- 0
- Continue reading or reply
Trigger to class 3
Hello everyone,
I need to convert this trigger into a class and them call it in a trigger in another object.
Can someone help me?
Also, I created 3 lists for validation of the records in this object, I know that is not the best way of doing, so what is the bets of way?
this 3 lists:cont_social, cont_loca, rg_cpf
I need to convert this trigger into a class and them call it in a trigger in another object.
Can someone help me?
Also, I created 3 lists for validation of the records in this object, I know that is not the best way of doing, so what is the bets of way?
this 3 lists:cont_social, cont_loca, rg_cpf
trigger Unidade_Status on Campus__c (before update) { for (Campus__C a :trigger.new) { list <Integrante_equipe__c> integrantes = new list<Integrante_equipe__c>(); integrantes = [SELECT ID FROM INTEGRANTE_EQUIPE__c WHERE INTEGRANTE_EQUIPE__c.POLO__C = :a.Id AND integrante_equipe__c.funcao__C = 'Sócio' AND integrante_equipe__c.cpf__C != null]; list <Documentos_Parceiro__c> cont_social = new list <Documentos_Parceiro__c>(); cont_social = [SELECT ID FROM Documentos_Parceiro__c WHERE Documentos_Parceiro__c.Unidade__c =: a.Id AND Recordtype.name = 'Contrato Social']; list <Documentos_Parceiro__c> cont_loca = new list <Documentos_Parceiro__c>(); cont_loca = [SELECT ID FROM Documentos_Parceiro__c WHERE Documentos_Parceiro__c.Unidade__c =: a.Id AND Recordtype.name = 'Contrato de Locação']; list <Documentos_Parceiro__c> rg_cpf = new list <Documentos_Parceiro__c>(); rg_cpf = [SELECT ID FROM Documentos_Parceiro__c WHERE Documentos_Parceiro__c.Unidade__c =: a.Id AND Recordtype.name = 'RG/CPF Sócios']; if(a.City__C != null && a.State__C != null && a.Email__c != null && a.Work_Phone__c != null) { if(a.LastActivityDate != null) { if(a.CNPJ__c != null && a.Razao_social_c__C != null && a.Street_Address__c != null && a.House_Number__c != null && a.Bairro__c != null && a.Zip_Code__c != null ) { if (!integrantes.isEmpty()) { if(cont_social.size() > 0 && cont_loca.size() > 0 && rg_cpf.size() > 0){ a.Status_parceria__c = 'Em Análise'; } Else { a.Status_parceria__c = 'Pré-Cadastro'; } } Else { a.Status_parceria__c = 'Pré-Cadastro'; } } Else { a.Status_parceria__c = 'Negociação'; } } Else { a.Status_parceria__c = 'Lead'; } } Else { a.Status_parceria__c =''; } } }
- Henrique Ortiz
- February 15, 2018
- Like
- 0
- Continue reading or reply
How can I use VisualForce to show the feed in the homepage of a community?
Hello guys, I'm trying to add the feed that we have in SF to the homepage of my community.
I did my research and find that I would need a visualforce page.
I've try:
1.<chatter:feed entityId="{!$User.Id}"/>
2.<chatter:newsfeed/>
But all that I get was that
An empty box.
How can I solve this?
- Henrique Ortiz
- November 08, 2017
- Like
- 0
- Continue reading or reply
how to change the colour of a column graphic on dashboards?
Hello guys,
How can I change the colour pattern or the colour of one column in a dashboard component?
I'd like to change the blue to orange or red in this component. There is a way for doing that?
How can I change the colour pattern or the colour of one column in a dashboard component?
I'd like to change the blue to orange or red in this component. There is a way for doing that?
- Henrique Ortiz
- August 25, 2017
- Like
- 0
- Continue reading or reply
I need a date Field for the change of Owner
Hello guys!
I'm having a hard time trying to figure this out.
I need a date field that brings me the last time a case has the owner change, that owner could be a queue or a user.
How can I do this?
I'm having a hard time trying to figure this out.
I need a date field that brings me the last time a case has the owner change, that owner could be a queue or a user.
How can I do this?
- Henrique Ortiz
- July 25, 2017
- Like
- 0
- Continue reading or reply
How can I use VisualForce to show the feed in the homepage of a community?
Hello guys, I'm trying to add the feed that we have in SF to the homepage of my community.
I did my research and find that I would need a visualforce page.
I've try:
1.<chatter:feed entityId="{!$User.Id}"/>
2.<chatter:newsfeed/>
But all that I get was that
An empty box.
How can I solve this?
- Henrique Ortiz
- November 08, 2017
- Like
- 0
- Continue reading or reply
How do I reset my playground?
How do I reset my playground to its original condition and remove all previous customizations, so that the DreamHouse sample application can be installed?
- J Michael Summitt
- August 25, 2017
- Like
- 0
- Continue reading or reply
I need a date Field for the change of Owner
Hello guys!
I'm having a hard time trying to figure this out.
I need a date field that brings me the last time a case has the owner change, that owner could be a queue or a user.
How can I do this?
I'm having a hard time trying to figure this out.
I need a date field that brings me the last time a case has the owner change, that owner could be a queue or a user.
How can I do this?
- Henrique Ortiz
- July 25, 2017
- Like
- 0
- Continue reading or reply
Create Object-Specific Quick Actions Failing
I am working on the Salesforce1 Mobile Customization Badge and am in the module for the object specific quick actions. I have followed these steps:
Create a quick action on the event object for entering a prospective buyer's feedback
Your brokers want to capture the feedback of their potential buyers after they look at a property. Create a quick action on the event object so brokers can update an event with their notes immediately after a showing. Add the action to the publisher for the Showing layout.
Create a quick action for the event object
Action type: Update a Record
Label: Enter Feedback
Remove all the fields on the page layout except for Name
Put the Feedback field on the page layout
Add the Enter Feedback quick action to the publisher for the Showing Layout. You might have to override the predefined actions in the Salesforce1 section of the publisher.
And have this action done with layout streamlined:
And the placement of the action:
But I still get this error for Name and Feedback missing?
If anyone can help, that would be greatly appreciated. I am not sure what I am missing.
Create a quick action on the event object for entering a prospective buyer's feedback
Your brokers want to capture the feedback of their potential buyers after they look at a property. Create a quick action on the event object so brokers can update an event with their notes immediately after a showing. Add the action to the publisher for the Showing layout.
Create a quick action for the event object
Action type: Update a Record
Label: Enter Feedback
Remove all the fields on the page layout except for Name
Put the Feedback field on the page layout
Add the Enter Feedback quick action to the publisher for the Showing Layout. You might have to override the predefined actions in the Salesforce1 section of the publisher.
And have this action done with layout streamlined:
And the placement of the action:
But I still get this error for Name and Feedback missing?
If anyone can help, that would be greatly appreciated. I am not sure what I am missing.
- Megan Muldary
- June 21, 2017
- Like
- 1
- Continue reading or reply
Problem with : Trailhead data management import data
Hi everyone,
I'm trying to finish the " Data import" units. It's a quite short unit because there are only 2 questions
When I check the answers, nothing happen, trailhead tell me that my answers are right (with the green dot) but I have no point and the data management unit is not complete. I thought that i needed to do an exercise but it seems to be only 2 questions.
Did I miss something or is it just a bug ? ( the part with " missing%(points)value" seems weird)
Thanks
I'm trying to finish the " Data import" units. It's a quite short unit because there are only 2 questions
When I check the answers, nothing happen, trailhead tell me that my answers are right (with the green dot) but I have no point and the data management unit is not complete. I thought that i needed to do an exercise but it seems to be only 2 questions.
Did I miss something or is it just a bug ? ( the part with " missing%(points)value" seems weird)
Thanks
- Mansour Faye
- June 20, 2017
- Like
- 1
- Continue reading or reply
Lightning Hobbies by Contact
Hi all....
Having a real issue with stage 5 of this Superbadge.
I have tried and re-tried this several times, re-creating both the Report Type and Report, but getting the same error:
The Report Type Looks like this:
The created report is:
I cannot see what is wrong with this at all!
Filter is locked.
Full Name is used.
Grouped by Account Name then Full Name and Hobby is a Column.
Any help would be greatly appreciated, as I have been looking at this for 3 days!
Having a real issue with stage 5 of this Superbadge.
I have tried and re-tried this several times, re-creating both the Report Type and Report, but getting the same error:
The Report Type Looks like this:
The created report is:
I cannot see what is wrong with this at all!
Filter is locked.
Full Name is used.
Grouped by Account Name then Full Name and Hobby is a Column.
Any help would be greatly appreciated, as I have been looking at this for 3 days!
- Robert Peledie 10
- July 27, 2016
- Like
- 0
- Continue reading or reply
Problem with : Trailhead data management import data
Hi everyone,
I'm trying to finish the " Data import" units. It's a quite short unit because there are only 2 questions
When I check the answers, nothing happen, trailhead tell me that my answers are right (with the green dot) but I have no point and the data management unit is not complete. I thought that i needed to do an exercise but it seems to be only 2 questions.
Did I miss something or is it just a bug ? ( the part with " missing%(points)value" seems weird)
Thanks
I'm trying to finish the " Data import" units. It's a quite short unit because there are only 2 questions
When I check the answers, nothing happen, trailhead tell me that my answers are right (with the green dot) but I have no point and the data management unit is not complete. I thought that i needed to do an exercise but it seems to be only 2 questions.
Did I miss something or is it just a bug ? ( the part with " missing%(points)value" seems weird)
Thanks
- Mansour Faye
- June 20, 2017
- Like
- 1
- Continue reading or reply