• manishtiwary1.390210540410199E12
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 18
    Questions
  • 15
    Replies
We have three instance of SFDC in our organization. Instance 1 ,Instance 2 and Instance 3 each for different business unit.

I wanted to flow data from once instance to other.

for example: if lead is create in instance 2 automatically it should be created/flow in instance 1
simillary if lead is created in instance 3 automatically it should be created/flow in instance 1.
Is there any way we can acheive it.
Hi All,

I have three instance of sfdc instace A, B, C.
I wanted to flow Lead/Contact that is created in B to A and Lead/Contact created in C to A.
Is there is any process/integration/ tools. that will help me in flowing data from once instance of SFDC to other
In our organization there are 3 different instance for each business unit. and I am holding licence for all the three licence.
Is there any way I can use signle user login and can access all the three instance of SFDC.
 
I have used tab insted of Related list .Can we show only oppoen opportunity under Opportunity tab related with account.
PFB snap and code
Should show only open opportunity
<apex:page standardController="Account" showHeader="true"
tabStyle="account" >
<style>
.activeTab {background-color: #236FBD; color:white;
background-image:none}
.inactiveTab { background-color: lightgrey; color:black;
background-image:none}
</style>
<apex:tabPanel switchType="client" selectedTab="tabdetails"
id="AccountTabPanel" tabClass="activeTab"
inactiveTabClass="inactiveTab">
<apex:tab label="Details" name="AccDetails" id="tabdetails">
<apex:detail relatedList="false" title="true"/>
</apex:tab>
<apex:tab label="Contacts" name="Contacts" id="tabContact">
<apex:relatedList subject="{!account}" list="contacts" />
</apex:tab>
<apex:tab label="Opportunities" name="Opportunities"
id="tabOpp">
<apex:relatedList subject="{!account}"
list="opportunities" />
</apex:tab>
<apex:tab label="Open Activities" name="OpenActivities"
id="tabOpenAct">
<apex:relatedList subject="{!account}"
list="OpenActivities" />
</apex:tab>
<apex:tab label="Notes and Attachments"
name="NotesAndAttachments" id="tabNoteAtt">
<apex:relatedList subject="{!account}"
list="CombinedAttachments" />
</apex:tab>

<apex:tab label="Account Team"
name="AccountTeams" id="AccountTeams">
<apex:relatedList subject="{!account}"
list="AccountTeams" />
</apex:tab>

</apex:tabPanel>
</apex:page>
Hi All,

Is there any way for not allowing duplicate account name in salesforce.

For Eg: I have created account name ABC.
Now Again If I create Account with name ABC corp,ABC Inc,The ABC then it should throug error
that name already exist in salesforce.

Most of the duplicate account is because of above reasons.
Request your help
Hii,

I have created a custom object call MOM(Minute of meeting).
I want to add a buton called send mail in MOM template.

Once we click on the send mail button.It should redirect to a visual force page
there we can select the user name ,relater user,lead name or contact name and email tempalte for sending mail.
Also we can have addition email field where we can use adition email address for sending mail.

Request your help for acheving this reqiuirnmrnt.

Regards,
Manish Tiwary
Hi All,

I have created two object one is Prospect__c and Second is Lead_status__c
Also I have created a Visual force Page for Prospect__c.

Lead Staus is the child object for Prospect__c.

I want to show Lead_status__c as a related detials under Prospect__c visualforce page.

Below is the code I have wrtten .
But it is giving error"'Lead_status__c' is not a valid child relationship name for entity Prospect "

<apex:page standardController="Prospect__c"  cache="true" extensions="Convert" >

<br/><br/>
<apex:messages style="color:red; font-weight:bold; text-align:center;"/>

<apex:relatedList list="Lead_status__c" />

<apex:form >
<apex:pageBlock title="Prospects information"  >

<apex:pageBlockButtons >
<apex:commandButton value="Delete" action="{!delete}"/>
<apex:commandButton value="Edit" action="{!edit}"/>
<apex:commandButton value="Convert" action="{!convertbutton}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Prospects Details" columns="2">
<apex:outputField value="{!Prospect__c.Salutation__c}"/>
<apex:outputField value="{!Prospect__c.First_Name__c}"/>
<apex:outputField value="{!Prospect__c.Name}"/>
<apex:outputField value="{!Prospect__c.Ownerid}"/>
<apex:outputField value="{!Prospect__c.Title__c}"/>
<apex:outputField value="{!Prospect__c.Website__c}"/>
<apex:outputField value="{!Prospect__c.Company__c}"/>
<apex:outputField value="{!Prospect__c.Rating__c}"/>
</apex:pageBlockSection>

<apex:pageBlockSection title="Address and Contact Information">
<apex:outputField value="{!Prospect__c.Street__c}"/>
<apex:outputField value="{!Prospect__c.Email__c}"/>
<apex:outputField value="{!Prospect__c.City__c}"/>
<apex:outputField value="{!Prospect__c.Phone__c}"/>
<apex:outputField value="{!Prospect__c.State__c}"/>
<apex:outputField value="{!Prospect__c.Mobile__c}"/>
<apex:outputField value="{!Prospect__c.Pin__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Lead Source Information" columns="2">
<apex:outputField value="{!Prospect__c.Lead_Source__c}"/>
<apex:outputField value="{!Prospect__c.Promotion__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Lead Processing Information" columns="2">
<apex:outputField value="{!Prospect__c.Lead_Status__c}"/>
<apex:outputField value="{!Prospect__c.Do_Not_Call__c}"/>
<apex:outputField value="{!Prospect__c.Industry__c}"/>
<apex:outputField value="{!Prospect__c.Email_Opt_Out__c}"/>
<apex:outputField value="{!Prospect__c.No_of_Employees__c}"/>
<apex:outputField value="{!Prospect__c.Annual_Revenue__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Description" columns="2">
<apex:outputField value="{!Prospect__c.Description__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:commandLink value="Redirect to Site" style="color:blue; font-weight:bold;" action="{!RedirecttoSite}"/>
</apex:form>
</apex:page>
Hi All,

I have created a VF page called Promotion .
I have a dropdown list Planned,In progress, Completed and Aborted in Promotion page
Now I have twofew requirnment:
Req-1
The dropdown stage move one by one like
1)Planned -->Inprogress
2)In progress--> Completed or Aborted

Req-2
If I select stage  Completed or Aborted then all the the field become read only.
user should not edit  the record. Since we have selected stage as Completed and Aborted.

Request your help .

Thanks,
Manish



Hi All,

I already have visual force page I want to add Few lines in that Visual force
I have already done changes in Sandbox.

Can we create Outbound Change set for the VF page that will only update the VF page
How we can prevent to redirect a visual force page to blank page on excel export
Hi All,

I have created a visual force page for exporting data in PDF.
In the button properties I have given Behaviour as -Display in New window.

When I am clicking on Button it is opening in the same Page .and I have to back click to return to salesforce page.
I have a visualforce page in that i have created two button
1) Export Excel
2)Export Pdf

I have written code for for bothexport page in excel and PDF using rerender and contettype.
Also i have added custom button on my visulforce page.
<apex:commandButton action="{!URLFOR($Action.Five_c.Generate, Id)}" id="pdf" value="pdf"/>
<apex:commandButton action="{!URLFOR($Action.Five_c.excel, Id)}" id="excel" value="excel"/>
Now the problem is once I click on pdf button it redirect to the pdf page .What my requirnment is that pdf should open in new window i.e child page and parent page should also visible to us.

Similary for Excel it should happen
Hi All,

I wanted to create multilevel button in my salesforce visulaforce.
PFB the snapshot
 User-added image
If I click on pdf I dhould get result in PDF
if i will click on excel I should get my data in Excel.
Hi All,

I have created a custom object. It consist of few Checkbox.
I have also created a visual force page for exporting the detail of of record on by one.(contentType="application/vnd.ms-excel#SalesForceExport.xls" cache="true")
But while exporting into Excel I am not able to get the Check box value.
Request your help.
Hi All,

I wanted to create a report for mu custom object with notes object field.I have gone throug few of the blog and it was written we cannot create report on notes.

Can we use visual force page report  that will pull notes associated with my custom object id .
Awating your inputs
Hi All,

I have written a trigger for creating a new  record  in custom object when account field  "Top_Account__c== True".

Problem is this trigger is even working when we are doing updation in account
It Should not fire on updating the account record. if "Top_Account__c== True".

trigger Topaccount on Account(before insert, before update) {
  List<Top_Account__c> newTop = new List<Top_Account__c>();
  for (Account acc : Trigger.new) {
  if (acc.)
  {
    Top_Account__c tp = new Top_Account__c();
    tp.Name        = acc.Name;
    tp.releted_acc__c = acc.Id; // Use the trigger record's ID
    newTop .add(tp);
  }
  }
  insert newTop ;
  }
Hi All,

I want to create a custome object or page  tied up to just top 100 accounts.With some fields that will be updated by users .
Basically There is one check box  name istop in account pagelaout.
If is top account is true or checked.then only we should view the custom object or visual force  in related list or visualforce page.
and we can enter related information in custom filed or page.
Can any one help me on the logic.So that the object or page should tie up with top 100 account only.

Awaiting your inputs.

Regards,
Manish Tiwary

Hi,

I have created a visual force page and used standard controller .Now I want to implement clone button in view and edit page.So that I can easly clone the record .
Hi All,

Is there any way for not allowing duplicate account name in salesforce.

For Eg: I have created account name ABC.
Now Again If I create Account with name ABC corp,ABC Inc,The ABC then it should throug error
that name already exist in salesforce.

Most of the duplicate account is because of above reasons.
Request your help
Hi All,

I have created two object one is Prospect__c and Second is Lead_status__c
Also I have created a Visual force Page for Prospect__c.

Lead Staus is the child object for Prospect__c.

I want to show Lead_status__c as a related detials under Prospect__c visualforce page.

Below is the code I have wrtten .
But it is giving error"'Lead_status__c' is not a valid child relationship name for entity Prospect "

<apex:page standardController="Prospect__c"  cache="true" extensions="Convert" >

<br/><br/>
<apex:messages style="color:red; font-weight:bold; text-align:center;"/>

<apex:relatedList list="Lead_status__c" />

<apex:form >
<apex:pageBlock title="Prospects information"  >

<apex:pageBlockButtons >
<apex:commandButton value="Delete" action="{!delete}"/>
<apex:commandButton value="Edit" action="{!edit}"/>
<apex:commandButton value="Convert" action="{!convertbutton}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Prospects Details" columns="2">
<apex:outputField value="{!Prospect__c.Salutation__c}"/>
<apex:outputField value="{!Prospect__c.First_Name__c}"/>
<apex:outputField value="{!Prospect__c.Name}"/>
<apex:outputField value="{!Prospect__c.Ownerid}"/>
<apex:outputField value="{!Prospect__c.Title__c}"/>
<apex:outputField value="{!Prospect__c.Website__c}"/>
<apex:outputField value="{!Prospect__c.Company__c}"/>
<apex:outputField value="{!Prospect__c.Rating__c}"/>
</apex:pageBlockSection>

<apex:pageBlockSection title="Address and Contact Information">
<apex:outputField value="{!Prospect__c.Street__c}"/>
<apex:outputField value="{!Prospect__c.Email__c}"/>
<apex:outputField value="{!Prospect__c.City__c}"/>
<apex:outputField value="{!Prospect__c.Phone__c}"/>
<apex:outputField value="{!Prospect__c.State__c}"/>
<apex:outputField value="{!Prospect__c.Mobile__c}"/>
<apex:outputField value="{!Prospect__c.Pin__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Lead Source Information" columns="2">
<apex:outputField value="{!Prospect__c.Lead_Source__c}"/>
<apex:outputField value="{!Prospect__c.Promotion__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Lead Processing Information" columns="2">
<apex:outputField value="{!Prospect__c.Lead_Status__c}"/>
<apex:outputField value="{!Prospect__c.Do_Not_Call__c}"/>
<apex:outputField value="{!Prospect__c.Industry__c}"/>
<apex:outputField value="{!Prospect__c.Email_Opt_Out__c}"/>
<apex:outputField value="{!Prospect__c.No_of_Employees__c}"/>
<apex:outputField value="{!Prospect__c.Annual_Revenue__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="Description" columns="2">
<apex:outputField value="{!Prospect__c.Description__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:commandLink value="Redirect to Site" style="color:blue; font-weight:bold;" action="{!RedirecttoSite}"/>
</apex:form>
</apex:page>
How we can prevent to redirect a visual force page to blank page on excel export
I have a visualforce page in that i have created two button
1) Export Excel
2)Export Pdf

I have written code for for bothexport page in excel and PDF using rerender and contettype.
Also i have added custom button on my visulforce page.
<apex:commandButton action="{!URLFOR($Action.Five_c.Generate, Id)}" id="pdf" value="pdf"/>
<apex:commandButton action="{!URLFOR($Action.Five_c.excel, Id)}" id="excel" value="excel"/>
Now the problem is once I click on pdf button it redirect to the pdf page .What my requirnment is that pdf should open in new window i.e child page and parent page should also visible to us.

Similary for Excel it should happen
Hi All,

I wanted to create multilevel button in my salesforce visulaforce.
PFB the snapshot
 User-added image
If I click on pdf I dhould get result in PDF
if i will click on excel I should get my data in Excel.
Hi All,

I have written a trigger to insert a line item in child object(Top Account)  when Top_account__c custom field is checked in account object.

The below trigger is working fine for the the account   that is ceated now and updated now .

Fow few of the account which is already exist in system and when we are updating that account with Top_account__c custom field is checked .

I am geeting two line item when I am checking Top_account__c custom field is checked .

Below is the trigger.Request your help in resolving the issue


trigger Topaccount on Account(After insert, after update) {
  List<Top_Account__c> newTop = new List<Top_Account__c>();
  for (Account acc : Trigger.new) {
  if ((trigger.isInsert || acc.Top_Account__c != trigger.oldMap.get(acc.Id).Top_Account__c) && acc.Top_Account__c == True)
  {
    Top_Account__c tp = new Top_Account__c();
    tp.Name = acc.Name;
    tp.releted_acc__c = acc.Id; // Use the trigger record's ID
    newTop .add(tp);
  }
  }
  insert newTop ;
  }
Hi All,

I have written a trigger for creating a new  record  in custom object when account field  "Top_Account__c== True".

Problem is this trigger is even working when we are doing updation in account
It Should not fire on updating the account record. if "Top_Account__c== True".

trigger Topaccount on Account(before insert, before update) {
  List<Top_Account__c> newTop = new List<Top_Account__c>();
  for (Account acc : Trigger.new) {
  if (acc.)
  {
    Top_Account__c tp = new Top_Account__c();
    tp.Name        = acc.Name;
    tp.releted_acc__c = acc.Id; // Use the trigger record's ID
    newTop .add(tp);
  }
  }
  insert newTop ;
  }
Hi All,

I want to create a custome object or page  tied up to just top 100 accounts.With some fields that will be updated by users .
Basically There is one check box  name istop in account pagelaout.
If is top account is true or checked.then only we should view the custom object or visual force  in related list or visualforce page.
and we can enter related information in custom filed or page.
Can any one help me on the logic.So that the object or page should tie up with top 100 account only.

Awaiting your inputs.

Regards,
Manish Tiwary