• jaelee125
  • NEWBIE
  • 30 Points
  • Member since 2016

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

I'm currently trying to create a custom data type for LWC datatable that is editable. I'm trying to use the edit template but there seems to be hard requirement that the edit template has to include an input element with data-inputable. Documentation: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.data_table_custom_types_editable

Is there any way I can use custom lwc components in the edit template instead of an input element? (I've tried this but I keep getting an error: Editable custom types must define an editTemplate that includes an element with attribute data-inputable set to "true"')

It seems like this is not possible. Is there any way I can run custom logic on the edit template for a custom data type for lwc lightningn datatable? 

When using LWC lightning-datatable that has a horizontal scrollbar, during inline-edit, the horizontal scrollbar disappears.
Upon inspecting the component, it doesn't actually disappeaer but is hidden because of the Save/Cancel overlay.
Does anyone know how to display the horizontal scrollbar properly during inline-edit?

LWC lightning-datatable with horizontal scrollbar
User-added image

During inline edit. Notice horizontal scrollbar is not visible
User-added image
I'm trying to extend the current LWC Datatable to support dependent picklist during inline editing. 
In LWC Datatable during in line edit, I want to be able to refresh the values of the controlled field when a controlling field value changes. Is there a way to just refresh the cell where the controlled field resides? Reloading the entire table when the controlled field changes is not ideal since that will have huge impact on performance and will bring other problems.
Ideally I would like to reload just the cell but if that is not possible, is it possible to reload maybe an entire column or row without reloading the entire table?
I'm currently trying to add a tooltip on the column header of the lightning-datatable lwc component. If that's not possible, I would like to change the title of the the column header so that I can edit the message that comes up when hovering over column. It sounds like the title takes whatever the value of the column label is. However, I would like to put a custom string on the title.

I've been reading through the documents and looking at the developer forumns, but I'm not sure this is possible. Has anyone found a way?
I'm currently using LWC Screen Action to use LWC as a quick action. When I have the modal opened and refresh the page, the page reloads with the modal opened. However, no UI is generated in the modal. 

Is there way to close the modal when the page is refreshed? Or is there a way to get the modal to render properly when page is refreshed while modal is opened?

I can just use Aura to wrap the LWC like in previous releases, but was wondering if there was any sort of way to achieve this using screen actions. 
When you use a drop down in an LWC Screen Action modal in a quick action, the drop down gets cut off when you open it. 
User-added image
There are many people saying to add the following CSS to the LWC component:
.slds-modal__content {
    overflow: initial;
}
After debugging, this does not work. In a quick action, your entire lwc component gets wrapped in another parent .slds-modal__content with overflow set to hidden that you cannot style with your lwc component. 

Other people were saying to add an empty div with its' height set so the dropdown has enough space to expand. However, all that empty space doesn't make the UI so great.

We could also use css so the content of the modal expands as the dropdown expands. However, the drop down we are using is a custom search component that expands as you type. So the constant flickering of the UI as the modal content changes based on the search result is also not ideal. 

Has anyone found an ideal solution to this problem? Ideally the UI should look like this:
User-added image
 

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 extend the current LWC Datatable to support dependent picklist during inline editing. 
In LWC Datatable during in line edit, I want to be able to refresh the values of the controlled field when a controlling field value changes. Is there a way to just refresh the cell where the controlled field resides? Reloading the entire table when the controlled field changes is not ideal since that will have huge impact on performance and will bring other problems.
Ideally I would like to reload just the cell but if that is not possible, is it possible to reload maybe an entire column or row without reloading the entire table?
I'm trying to extend the current LWC Datatable to support dependent picklist during inline editing. 
In LWC Datatable during in line edit, I want to be able to refresh the values of the controlled field when a controlling field value changes. Is there a way to just refresh the cell where the controlled field resides? Reloading the entire table when the controlled field changes is not ideal since that will have huge impact on performance and will bring other problems.
Ideally I would like to reload just the cell but if that is not possible, is it possible to reload maybe an entire column or row without reloading the entire table?

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