• jerknoz joe
  • NEWBIE
  • -1 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hi,

before the spring'20 version, chat had been implemented, along with the channel menu. Everything worked perfectly. The code looked like this:
 

<script type='text/javascript' src='https://service.force.com/embeddedservice/menu/fab.min.js'></script>

<script type='text/javascript'>
	var initESW = function(gslbBaseURL) {
		embedded_svc.menu.chat.settings.prepopulatedPrechatFields = {
            FirstName: "{{fName}}",
            LastName: "{{lName}}",
            Email: "{{email}}",
            Telefone: "{{phone}}"
        };
		
		
		embedded_svc.menu.init(
			'https://xxxxxxx.my.salesforce.com',
			'https://d.xxxxxxxxxxxxxx.salesforceliveagent.com/chat',
			gslbBaseURL,
			'xxxxxxxxxxxx',
			'Channel_Menu'
		);
		
	};

	if (!window.embedded_svc || !window.embedded_svc.menu) {
		var s = document.createElement('script');
		s.setAttribute('src', 'https://xxxxxxx.my.salesforce.com/embeddedservice/menu/fab.min.js');
		s.onload = function() {
			initESW(null);
		};
		document.body.appendChild(s);
	} else {
		initESW('https://service.force.com');
	}
</script>
 

After the update stopped working. An undefined object error now occurs. Investigating, I imagine that this happens because now the channel menu options are dynamic and can be changed by the client side.

Any suggestions or examples to fill in the pre-form data?

Hi there,

I am working on customizing my organization's login page's right side image. I followed a tutorial article posted by someone that explained how to use the SF > Set Up > Site to create a secure HTTPS url and then format the image on a Visualforce page to use on the Site. 

I have done this, and everything works great, expect the image does not dynamically stretch in length. If the browser is fully maximized, the image does fill the screen, however, if it is minimized to not fill the screen there is a blank white space underneath it (see image attached). I have tried to change the visualforce coding of the page, but cannot get it to work. 

Any help and insght to fix this issue is greatly appreciated.
Thanks in advance,

Ricki

For reference, here is the VF page code I have in place currently. The image I want to show and fill on the right side of the login page is saved as a Static Resource in my SF org as "LifeBeyondBanking".
<apex:page showHeader="false" sidebar="false" >
<apex:image id="LifeBeyondBanking" value="{!$Resource.LifeBeyondBanking}" width="100%" height="100%" alt="Company Name - Life Beyond Banking"/>
</apex:page>


Blank space underneath right side URL image (coded on VF and hosted on SF site)
Has anybody ran into the issue of Filter logic not working when creating a duplicate rule?

User-added image

I have noticed that the Filter Logic will apply "AND" logic for the rule criteria even if "OR" is specified. In other words, even though the Filter Logic says "OR", all rule criteria must be true for the rule to run.