• Maxime
  • NEWBIE
  • 20 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 6
    Replies
Hello,

I open a popup inside my visualforce page to complete an oauth authentification. I have the following error : 
DOMException: Blocked a frame with origin "**.vf.force.com" from accessing a cross-origin frame.
I decided to use postMessage (https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage) to send data from my window.open to the visualforce page but i receive no data.

Can i implemente postMessage with visualforce ?
 
  • October 25, 2022
  • Like
  • 0
Hello,

Do you know if there is a page with a listing of all the organization where my package is installed ?

Thanks
  • August 17, 2022
  • Like
  • 0
Hello,

I have multiple record types on my opportunity object (on before insert after insert etc). Some treatments are specific for my record type, some are common.

How would you create the trigger/class architecture for this ?

Thanks
  • November 30, 2021
  • Like
  • 0
Hello i would like to have an FLS example on a managed package settings page where i use custom metadata.
Do i have to look for "PermissionsCustomizeApplication" ? but how. 
 
Hi,

I have an error on the source scanner : FLS create/update
 
public with sharing class Heeet_ApikeyController {

    public app_settings__c settings {get;set;}

    public Heeet_ApikeyController() {
        settings = app_settings__c.getOrgDefaults();
    }

    public void saveSettings() {
        upsert settings;
    }

}

I cant find any documentation about FLS on custom settings. This page is only accessible by admin (package setting page)
  • April 19, 2021
  • Like
  • 0
Hey everybody,

I sent my business plan to Salesforce at the beginning of november and it's still pending for approval, and we need that to ask for the security review.

I read it takes 3 days usually, do you have some feedback ?

Thanks
  • December 16, 2020
  • Like
  • 0
Hello,

Here is my goal :

On opportunity page i want to have a button that open a popup with
- a pdf that i generate (renderas)
- two buttons (save & save as attachment) -save i natively supported with renderas-

Is there a way to easy open a popup with a visualpage inside ? i want to stay on the opportunity page.

Thanks
  • October 09, 2020
  • Like
  • 0
Hello,

i have a workflow who trigger my trigger twice (trigger on opp, after update). The problem is that oldMap and newMap are identical...

Is there a way to avoid that ?
 
  • September 30, 2020
  • Like
  • 0
Hello,
 
global class test {
global String var1;
global String var2;
global String var3;
}

What i want to do is to set this variables dynamically like : 
 
for(List<String> value: values){
 test[value] = '1'; 
}

Where value is var1, var2, var3

Thanks
 
  • September 23, 2020
  • Like
  • 0
Hello,

Do you know if there is a page with a listing of all the organization where my package is installed ?

Thanks
  • August 17, 2022
  • Like
  • 0
Hello i would like to have an FLS example on a managed package settings page where i use custom metadata.
Do i have to look for "PermissionsCustomizeApplication" ? but how. 
 
Hi,

I have an error on the source scanner : FLS create/update
 
public with sharing class Heeet_ApikeyController {

    public app_settings__c settings {get;set;}

    public Heeet_ApikeyController() {
        settings = app_settings__c.getOrgDefaults();
    }

    public void saveSettings() {
        upsert settings;
    }

}

I cant find any documentation about FLS on custom settings. This page is only accessible by admin (package setting page)
  • April 19, 2021
  • Like
  • 0
Hey everybody,

I sent my business plan to Salesforce at the beginning of november and it's still pending for approval, and we need that to ask for the security review.

I read it takes 3 days usually, do you have some feedback ?

Thanks
  • December 16, 2020
  • Like
  • 0
Hello,

Here is my goal :

On opportunity page i want to have a button that open a popup with
- a pdf that i generate (renderas)
- two buttons (save & save as attachment) -save i natively supported with renderas-

Is there a way to easy open a popup with a visualpage inside ? i want to stay on the opportunity page.

Thanks
  • October 09, 2020
  • Like
  • 0