• Kumbresh K
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 4
    Replies
We have implemented a platform event trigger (gives additional governor limit and executes synchronously) in our product to overcome the SOQL 101 limit issue. As we know that, the platform events executed as an automated user.

In this implementation, we are updating a custom object as well as setting up the record types. Currently, to enable the record types for the automated user profile we are doing URL hacking using the system Administrator profile manually. This is the workaround we found in the development forum. Please refer below.
https://salesforce.stackexchange.com/questions/210710/automated-process-user-profile-permissions
https://goravseth.com/giving-automated-process-user-access-to-apex-class

The problem is, we have around 50+ clients and this is a pretty complicated config and needs to do in all 50+ clients on every release or package upgrade.

Can it be done with the script if yes what is the solution?
Hello all,

I’m not able to readMetadata() CustomObjectTranslation using namespace, it doesn’t return anything (gives null). I have no problem with standard objects or unmanaged custom objects.

Also, I’m using the same fullname that appears when using the listMetadata() method. I’ve tried with and without namespace prefix and still got nothing. Is this a known limitation? Or maybe I’m doing something wrong?

Example
This works fine in unmanaged package
MetadataService.CustomObjectTranslation customObjectTranslation = (MetadataService.CustomObjectTranslation)
service.readMetadata(‘CustomObjectTranslation’, new String[] {‘myCustomobject__c-en_GB’}).getRecords()[0];

This is not working in managed or in my scratch org
MetadataService.CustomObjectTranslation customObjectTranslation = (MetadataService.CustomObjectTranslation)
service.readMetadata(‘CustomObjectTranslation’, new String[] {‘prefiex__myCustomobject__c__c-en_GB’}).getRecords()[0];

Can anyone help me with this?

Thanks,
Kumbresh
Anybody has implmented lightning component for drag and drop or browse files with progress bar ?
 
I'm facing one problem, If I do modify some logic on the lightning component bundle and save it, then comeback to the browser and refreshed the page but the component is still displays the old logic..... 
I have googled and few are posted that its known issue in salesforce and it'll take time to refresh on the server. I have also got a workaround (https://developer.salesforce.com/forums/?id=9060G000000I3QLQA0) but still it is not working.
Any workarounds would help a lot ?
We have implemented a platform event trigger (gives additional governor limit and executes synchronously) in our product to overcome the SOQL 101 limit issue. As we know that, the platform events executed as an automated user.

In this implementation, we are updating a custom object as well as setting up the record types. Currently, to enable the record types for the automated user profile we are doing URL hacking using the system Administrator profile manually. This is the workaround we found in the development forum. Please refer below.
https://salesforce.stackexchange.com/questions/210710/automated-process-user-profile-permissions
https://goravseth.com/giving-automated-process-user-access-to-apex-class

The problem is, we have around 50+ clients and this is a pretty complicated config and needs to do in all 50+ clients on every release or package upgrade.

Can it be done with the script if yes what is the solution?
Anybody has implmented lightning component for drag and drop or browse files with progress bar ?
 
Hi All,

I have developed a force.com site on visualforce page and displaying Favicon by storing in static resource.
Favicon is displayong in Firefox browser but not working in Chrome and Safari browsers.

Thanks In Advance.

HI,

 

How to acheive drag and drop files in visualforce page

 

Thanks