• BobSmith03
  • NEWBIE
  • 0 Points
  • Member since 2013

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

Hello Folks,

 

I have searched for this but couldn’t find proper solution. So posting this topic again. Please help me pointing out to right direction. 

 

Requirement:

Integrate Bugzilla with Salesforce. Whenever new Bug gets created/updated in Bugzilla, Salesforce should get that as add/change message & new record has to be created in my Custom Object(called Test Case. It's different from Salesfoce standard object CASE) automatically.

 

I am also okay to get all Bugs created/updated in a day & do batch update once in Salesforce.

 

What I have tried: Email to "Test Case" . I tried using Inbound email concept where Bugzilla has option to send automated emails(adding email in CC list). But Email format(body & subject) are very different for each scenario(new bug/new comment/status change) which is tough to Parse & find required data.

 

Please suggest.

 

Thank you

 

In Sales App, we have written Customized pages for Account View & Edit. Now we got requirement to redirect page to Standard Account edit page based on record type. I mean if Record type is "ABC" goto Account_EDIT_VF page else goto Standard Salesforce Account Edit page.

I have tried below changes, but I am breaking existing logic. For both record types, page is redirecting to Standard Edit page. Please suggest corrections...Thanks for your time.

 

PAGE:

<apex:page standardController="Account" id="AccPage" showHeader="true" tabStyle="account" extensions="AcctEditController" action="{!nullvalue(null, urlFor($Action.Account.edit, Account.id,[retURL=URLFOR($Action.Account.view, Account.id,null,true)], true))}"> <style>

 

 

Controller:

 

if(rectype.name=='ABC')
{
return null; 
} else {
PageReference newPage1 = new PageReference('/' + recordId + '/e');
newPage1.setRedirect(true);
newPage1.getParameters().put('nooverride', '1');
return newpage1;
}

 

In Sales App, we have written Customized pages for Account View & Edit. Now we got requirement to redirect page to Standard Account edit page based on record type. I mean if Record type is "ABC" goto Account_EDIT_VF page else goto Standard Salesforce Account Edit page.

I have tried below changes, but I am breaking existing logic. For both record types, page is redirecting to Standard Edit page. Please suggest corrections...

 

PAGE:

<apex:page standardController="Account" id="AccPage" showHeader="true" tabStyle="account" extensions="AcctEditController" action="{!nullvalue(null, urlFor($Action.Account.edit, Account.id,[retURL=URLFOR($Action.Account.view, Account.id,null,true)], true))}"> <style>

 

 

Controller:

 

if(rectype.name=='ABC')
{
return null; 
} else {
PageReference newPage1 = new PageReference('/' + recordId + '/e');
newPage1.setRedirect(true);
newPage1.getParameters().put('nooverride', '1');
return newpage1;
}

 

In Sales App, we have written Customized pages for Account View & Edit. Now we got requirement to redirect page to Standard Account edit page based on record type. I mean if Record type is "ABC" goto Account_EDIT_VF page else goto Standard Salesforce Account Edit page.

I have tried below changes, but I am breaking existing logic. For both record types, page is redirecting to Standard Edit page. Please suggest corrections...

 

PAGE:

<apex:page standardController="Account" id="AccPage" showHeader="true" tabStyle="account" extensions="AcctEditController" action="{!nullvalue(null, urlFor($Action.Account.edit, Account.id,[retURL=URLFOR($Action.Account.view, Account.id,null,true)], true))}"> <style>

 

 

Controller:

 

if(rectype.name=='ABC')
{
return null; 
} else {
PageReference newPage1 = new PageReference('/' + recordId + '/e');
newPage1.setRedirect(true);
newPage1.getParameters().put('nooverride', '1');
return newpage1;
}