• hpmohan
  • NEWBIE
  • 5 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies
Hello Experts,

I am trying to open up a visualforce page as a pop up upon clicking a custom button in 'Case' detail page. I am able to do so by the below codes.
var newWindow = window.open('../apex/CaseReassign', 'Popup Name' ,"width=600, height=550, scrollbars=yes,toolbar=no,status=no");
newWindow.focus();
AND..
 
openPopup('../apex/CaseReassign', "popup", 350, 480, "width=480,height=480,toolbar=no,status=no,directories=no,menubar=no,resizable=yes,scrollable=no", true)

Eventhough the page is popping up, the output does not look like a pop up. I would like to get the oputput look like as if it was implemented with Bootstrap Modal. (http://getbootstrap.com/javascript/#modals). ( OR, see the window popping up, upon clicking 'Add a code sample' [<>] above)..Again, it is possible to implement the same in VF pages with 'command button' click and is working in flying colors.

help me in achive the same result with standard page and custom button.

This issue have been chewing up a lot of my time and I coudn't find any help from internet too. Please let me know if the requirement is not clear.

Thanks in advance,
hpmohan
Hi,
In Step 7 of Data Integration Specialist, even though code is working as expected ( project status changing from Billable to Bill), I keep on getting the following error :
The SOAP call to the BillingService did not return the correct response. Please check your configurations and code

I know that a similar discussion has been opened but as there's a best answer related to this and that it was initially about the Web Service being down, I want this trail to be dedicated to this issue only. Trying several ways to complete the challenge didn't give any result.

Please don't answer if you only want to say you face the same issue (click on like). Just reply if you resolved the issue or opened a case and mention it. Maybe if a lot of people open a case, Salesforce will fix the issue or be more specific on the issue.

Has someone passed step 7 of Superbadge "Data Integration Specialist" since 20 august 2018 ?
For information, I opened a case 00010194 but still no answer.
HI,
i am phasing this issue variable  doesnot exist.

trigger updatephonecontact on Account (after update)
{
 for(account acc : trigger.new)
 {
 list<contact> listcon= [select phone from contact where accountid=:acc.id];
 }
/for(Contact ct : listcon)
 {
 
 ct.phone=acc.phone ;// i got error at his line can ypo pls help me
 }
 update listcon;
}
Hello,

I have two visualforce pages through which i'm navigating,, during the navigation i'm putting some values in the page2 URL so that i can accesss them in page2.. As show below..
 
//In page 1 controller 
 public pageReference callPage2()
{
  PageReference pr = new PageReference('/apex/Page2?name='+value);
  pr.setRedirect(true);
  return pr;
}

// in page2 controller

public page2Controller() 
{
  String receivedName = apexpages.currentpage().getparameters().get('name');

  xyz__c x = [select id from xyz__c where name=:receivedName];

}

However, when i submitted the code to salesforce security scanner i'm getting XSS error for this code..
This might be because of the use of page parameters in the SOQL query.
What can be the solution to this?? Is there any way by which I can encode or verify the page parameters for vulnerability in the apex code..

Please help!
Thanks in advance,
Saurabh
 

Hello Experts,

I am trying to open up a visualforce page as a pop up upon clicking a custom button in 'Case' detail page. I am able to do so by the below codes.
var newWindow = window.open('../apex/CaseReassign', 'Popup Name' ,"width=600, height=550, scrollbars=yes,toolbar=no,status=no");
newWindow.focus();
AND..
 
openPopup('../apex/CaseReassign', "popup", 350, 480, "width=480,height=480,toolbar=no,status=no,directories=no,menubar=no,resizable=yes,scrollable=no", true)

Eventhough the page is popping up, the output does not look like a pop up. I would like to get the oputput look like as if it was implemented with Bootstrap Modal. (http://getbootstrap.com/javascript/#modals). ( OR, see the window popping up, upon clicking 'Add a code sample' [<>] above)..Again, it is possible to implement the same in VF pages with 'command button' click and is working in flying colors.

help me in achive the same result with standard page and custom button.

This issue have been chewing up a lot of my time and I coudn't find any help from internet too. Please let me know if the requirement is not clear.

Thanks in advance,
hpmohan