• jaelee125
  • NEWBIE
  • 30 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 5
    Replies

I'm trying to re-size the image on a rich text area field. I got it working by adding style to img tag on the rich text area field.

For example:
Contact contact = [ SELECT Id, Picture__c FROM Contact WHERE Id = 'someId' ];
contact.Picture__c = contact.Picture__c.replace('<img', '<img style="height: 256px"'); 

Ideally we would like to use max height so images smaller than 256px won't get stretched out. However, max-height doesn't seem to work. If I add max-height, it clears it.

If I add max-height it saves it as style="".

Hello,

We currently have a branded login page using login site. We have added a url to the marketing message frame url to show a specific page of our website. The url displays correctly on the right, but it is not scrollable. When checking the dev console, it shows that the iframe has scrolling="no". 

I wanted to see if there are any sort of workaround to getting the marketing message frame on login site to scroll of if it was specifically designed like that. 
It looks like Salesforce currently doesn't support getting parent Id when standared actions are overridden using a lightning component. However, there seems to be a workaround using url hacks. https://www.salesforcebolt.com/2020/04/get-parent-id-salesforce1-Lightning-Component.html. 

However, this hack does not work for communities. Is there any way to get a related parentId when overriding standard actions (such as new) with a lightning component in Communities?
Does Salesforce provide any mechanism to upload new versions of files using lwc? They have lightning-file-upload component lwc to upload files but there doesn't seem to be one to upload new version.

I'm trying to avoid using lightning-file-upload component and use onuploadfinished to manually create a new content version using the content document that was just inserted. Anyone have any workarounds or solutions?
We are currnly an ISV partner with Salesforce. If we have any issues, we usually go through the partner community. We have Partner Premier Account which gets us access to 10 Technical Case Pack where the first 10 cases gets treated as Partner Premier Support. When we exceed that number, additional cases gets treated as basic. Cases that gets treated as basic no longer gets developer support.

If we exceed the 10 cases and need developer support, what can we do?
Hello,

I was wondering if you can customize the global search bar that shows up at the top in lightning. By default it shows up as "Search Salesforce" but I was wondering if that could be changed?

Also is it possible to change what shows up on the browser tabs? I believe the home page shows "Salesforce - Enterprise Edition" in classic but was wondering if that can be changed.

I'm trying to re-size the image on a rich text area field. I got it working by adding style to img tag on the rich text area field.

For example:
Contact contact = [ SELECT Id, Picture__c FROM Contact WHERE Id = 'someId' ];
contact.Picture__c = contact.Picture__c.replace('<img', '<img style="height: 256px"'); 

Ideally we would like to use max height so images smaller than 256px won't get stretched out. However, max-height doesn't seem to work. If I add max-height, it clears it.

If I add max-height it saves it as style="".

Does Salesforce provide any mechanism to upload new versions of files using lwc? They have lightning-file-upload component lwc to upload files but there doesn't seem to be one to upload new version.

I'm trying to avoid using lightning-file-upload component and use onuploadfinished to manually create a new content version using the content document that was just inserted. Anyone have any workarounds or solutions?
Hi guys/gals,

Do you have any idea on how to obtain the Cloak of Adventure sweatshirt after completing 5 badges on trailheads?

Source: http://go.pardot.com/l/27572/2016-01-06/4wy4tn?utm_campaign=newyear-trailhead-sweatshirt

I haven't received any email address or notification about the completion after I had received 5 new badges on my profile. 

The sweetshirt looks really cool and I want to get it :D  Ty