You cannot add a custom image to the lightning button with a Base Component. You will have to use SLDS and HTML to accomplish the same. Login Demo: https://codepen.io/sfdc2022/pen/WNdLNoW
Salesforce
Answered Apr 18, 2023
·
873 Views
Read answer →
I found an answer here that might work for you, where the solution would be to change your "Save" method to the following: Public salesforce PageReference saveAndRedirect() { if(controller.save() != null) { PageReference redirectPage = Page.force_OrderDetail; redirectPage.setRedirect(true);…
Salesforce
Answered Apr 18, 2023
·
1.3K Views
Read answer →
I use a lot of custom messaging assigned to final strings and they have an access of private @TestVisible private static final string REQERROR = 'There was an error processing your request'; Adding the @TestVisible annotation allows me to use this property in my test classes to assert the appropriate messages are…
Salesforce
Answered Apr 17, 2023
·
1.4K Views
Read answer →
To convert date in string format to date datatype sql - Try this out: declare @vardate varchar(100)='02121955' set @vardate= SUBSTRING(@vardate, 1, 2)+'-'+ SUBSTRING(@vardate, 3, 2)+'-'+SUBSTRING(@vardate, 5, 4) select CONVERT(date, @vardate) as dataconverted This should do the job for the whole column UPDATE myTable…
SQL Server
Answered Mar 17, 2023
·
890 Views
Read answer →
To resolve the error - ora-00907: missing right parenthesis - Specifying a value after INT (e.g. INT(8)) does nothing in MySQL apart from affecting the ZEROFILL option. From here (the poster has ~ 500K rep. on StackOverflow and was MySQL Community Manager, so he probably knows what he's talking about): The 20 in…
SQL Server
Answered Mar 16, 2023
·
1.3K Views
Read answer →
stored procedure vs function Officially, PostgreSQL only has "functions". Trigger functions are sometimes referred to as "trigger procedures", but that usage has no distinct meaning. Internally, functions are sometimes referred to as procedures, such as in the system catalogue pg_proc. That's a holdover from PostQUEL.…
SQL Server
Answered Mar 13, 2023
·
1.0K Views
Read answer →
The answer to your question - can people see my security question in apez is - To prevent the security question from appearing, you have to reset the password. It looks like you let a (new) user take the account of another user. That's not good practice. It's better to disable a user, and create a new account for the…
Salesforce
Answered Mar 6, 2023
·
630 Views
Read answer →
To resolve the situation of Salesforce authenticator not working - I was able to do a work around, by asking my Lead to reset the Temporary Verification Code in the User Detail Page and then login using that. Then I had disconnected the Salesforce Authenticator recently and will reset it when I find time.
Salesforce
Answered Mar 2, 2023
·
945 Views
Read answer →
Try using the attribute value ampscript lookup function to capture the subscriberkey. eg %%[ VAR @EventType, @DateTime, @Address , @SubscriberKey SET @SubscriberKey = AttributeValue("_subscriberkey") SET @EventType = Lookup("CampaignMember_Contact_Builder", "Event_Type__c", "ContactId", @SubscriberKey) SET @DateTime =…
Salesforce
Answered Feb 27, 2023
·
787 Views
Read answer →
Just found that salesforce has posted a cheat sheet with much more data about index fields in salesforce than I've ever seen before. Take a look at the Query & Search Optimization Fields Cheat Sheet on the developer force wiki's cheat sheet area. One big takeaway is that there are some substantial differences between…
Salesforce
Answered Feb 10, 2023
·
1.5K Views
Read answer →
Maybe you installed DRF for python2, not for python3. That is why you are receiving the modulenotfounderror: no module named 'rest_framework' You can use python console to check your module: import rest_framework Actually if you use pip to install a module, it will install the python2 module. You should install the…
Devops
Answered Nov 21, 2022
·
5.0K Views
Read answer →
The answer to your question - is ffmpeg safe is - Not really. There are security risks, especially if you allow arbitrary formats. FFmpeg supports a huge variety of formats, both popular and obscure, for video, audio, and images formats. Any vulnerability in decoders for any of the numerous formats could be exploited…
SQL Server
Answered Nov 15, 2022
·
6.8K Views
Read answer →