• Suma G 7
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 5
    Replies
I have a requirement like Download AS CSV button functionality in lightning page. i followed below link to implement and succesfully done.
https://sfdcmonkey.com/2017/04/19/download-csv-file-data-salesforce-lightning-component/
But, if data has special character like '#' it is stop writing. 
Is there any limitations for this?
any suggestions for this please. 
I have requirement like, i need to populate the part of email body based on some condition(dynamic email body). i am triggering email from workflow-> email alert. 
i choose custom template (without letterhead) to work with this requirement. i stuck in conditional based rendering of email body.
i am trying like below:
{!IF(Opportunity.xxx__c,IF(Opportunity.yyy__c,"both r true","isach false"),"ach apr is false")}
xxx__c & yyy__c both are boolean fields on opportunity object.

any suggestions to achive this requirement.
Thank you in advance!
HI,
i have a field of type Date and time of type picklist. i have created a formula field to concatinate both. below is my formula.
DATETIMEVALUE(TEXT(YEAR(Start_Date__c)) + "-" 
+ TEXT(MONTH(Start_Date__c)) + "-" 
+ TEXT(DAY(Start_Date__c)) + " " 
+ if(contains(Text(Start_Time__c),'AM'),LEFT(Text(Start_Time__c), find(":",Text(Start_Time__c))),Text(Value(LEFT(Text(Start_Time__c), find(":",Text(Start_Time__c))-1))+12)+":")
+ if(find(":",Text(Start_Time__c))==2,MID(Text(Start_Time__c),find(":",Text(Start_Time__c))+1, find(':',Text(Start_Time__c))),MID(Text(Start_Time__c), find(":",Text(Start_Time__c))+1, find(':',Text(Start_Time__c))-1)) + ":00")+(4/24)


this is working for all the times that mentioned in pivklist except 12:00AM,12:30AM & 12:00PM , 12:30PM. 

Please suggest me if i am missing something.

Thanks in advance!

Regards,
Suma.
Hi,
i have a validation rule on my custom object(xxx__c), it says that, account lookup is null my validation rule fires and says, "Please select an Account to continue.". but for the same custom object i have an approval process. when i edit the record my validation rules fires(if i dint populate value for an account) as excepcted. but when record is locked (i.e, approval process initiated) and no data in account field. if user clicks on approve it is not throwing the validation rule. how can i handle that. Any suggestions please.

-Suma.
Hi All,

i have a SOSL in my Apex code which like below:
String searchQuery = 'FIND \'' + String.escapeSingleQuotes(searchInput) + '\' IN ALL FIELDS RETURNING contentVersion  (Title, Tagscsv, Id, Availability__c, Colour_Enabled__c' + queryWhere + ' ORDER BY Title LIMIT 500) ';

But, my requirement is lik, i should not search in ALL FIELDS, but i have some specific fields like Title and Tagcsv .. any suggestions to achieve this. 

Thanks in advance.

Regards,
Suma. 
 
Hi,

we setup community for our partners and customers. 
we are facing a strange issue with partner community, which is stopped sending change password email recently to the users who are newly created in the system. but, if i change the my email template to standard template email is triggering. only problem with my custom vf template which worked earlier.

any ideas....

Thanks,
Suma.
Hi,
i have my vf page & Controller with custom buttons and my controller will do DML on child object.
this VF is on my customobject detail page as a inline VF.
which is working perctly when i am in classic view, now the problem is in lightning view.
In Lightning view, when i click on button, it is changing url of the brower and url is like my vf page. finally, it is gving me "Invalid Page." Error.

Need help on this.

Thanks in Advance.

-Suma.
Hi,

i have to add vote up & vote down buttons on Idea object. is can be done in standard way? or i have to go for custom functionalty?  Anyone can help me on this.

Thanks in advance!

Regards,
Suma.
Hi,
i have a validation rule on my custom object(xxx__c), it says that, account lookup is null my validation rule fires and says, "Please select an Account to continue.". but for the same custom object i have an approval process. when i edit the record my validation rules fires(if i dint populate value for an account) as excepcted. but when record is locked (i.e, approval process initiated) and no data in account field. if user clicks on approve it is not throwing the validation rule. how can i handle that. Any suggestions please.

-Suma.
Hi All,

i have a SOSL in my Apex code which like below:
String searchQuery = 'FIND \'' + String.escapeSingleQuotes(searchInput) + '\' IN ALL FIELDS RETURNING contentVersion  (Title, Tagscsv, Id, Availability__c, Colour_Enabled__c' + queryWhere + ' ORDER BY Title LIMIT 500) ';

But, my requirement is lik, i should not search in ALL FIELDS, but i have some specific fields like Title and Tagcsv .. any suggestions to achieve this. 

Thanks in advance.

Regards,
Suma. 
 
Hi,
i have my vf page & Controller with custom buttons and my controller will do DML on child object.
this VF is on my customobject detail page as a inline VF.
which is working perctly when i am in classic view, now the problem is in lightning view.
In Lightning view, when i click on button, it is changing url of the brower and url is like my vf page. finally, it is gving me "Invalid Page." Error.

Need help on this.

Thanks in Advance.

-Suma.
Hi,

i have to add vote up & vote down buttons on Idea object. is can be done in standard way? or i have to go for custom functionalty?  Anyone can help me on this.

Thanks in advance!

Regards,
Suma.
We have users in both Classic and Lightning using the standard "New" button on leads.  I need to override the standard "New" button and redirect the user to a lightning app.  I created a VF page action that will redirect the user to the lightning app.  Everything works great however for lightning users, the redirect opens a new tab in the browser.  How do I keep the redirect on the same browser window in lightning?  Do I need to create a VF page pulling in a lightning component?