• miku
  • NEWBIE
  • 50 Points
  • Member since 2011

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 30
    Questions
  • 13
    Replies

My VF have different status.which control what to render on the page, and the buttons on the page change the page status.

When I click the button on the VF,The controller did not trigger the action.But the VF page refresh to the initial status.

 

<apex:page standardController="APTable__c" extensions="CreateAPTable">
<apex:outputPanel style="color:red">
<apex:messages />
</apex:outputPanel>
<style type="text/css">
.custPopup{
background-color: white;
border-width: 2px;
border-style: solid;
border-color: rgb(14,158,207);
z-index: 9999;
left: 50%;
padding:10px;
position: absolute;
width: 500px;
margin-left: -250px;
top:100px;
text-align:center;
}
.popupBackground{
background-color:black;
opacity: 0.20;
filter: alpha(opacity = 20);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 9998;
}

</style>
<apex:form >
<apex:outputPanel styleClass="popupBackground" layout="block" rendered="{!shouldpopup}"/>
<apex:outputPanel styleClass="custPopup" layout="block" rendered="{!shouldpopup}">
<apex:outputPanel layout="block">请选择连锁系统</apex:outputPanel>
<apex:outputPanel layout="block"><apex:outputText value="非NKA连锁系统"></apex:outputText>
<apex:selectList value="{!sLink1}" size="1">
<apex:selectOptions value="{!NKAoptions1}"/>
</apex:selectList></apex:outputPanel>
<apex:outputPanel layout="block"><apex:commandButton value="确定" action="{!closePopup}"/><apex:commandButton value="取消" action="{!popcancel}"></apex:commandButton></apex:outputPanel>
</apex:outputPanel>
<apex:pageBlock title="创建AP表第一步,选择客户" rendered="{!isstep1}">
<apex:pageBlockButtons >
<apex:commandButton action="{!step1}" value="下一步" rendered="{!hideprovince}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection >
<apex:inputField value="{!apt.Account__c}">
<apex:actionSupport event="onchange" action="{!chooseaaccount}"/>
</apex:inputField>
<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="省区"></apex:outputText>
<apex:selectList value="{!pId}" size="1" >
<apex:actionSupport event="onchange" action="{!chooseprovince}"/>
<apex:selectOptions value="{!poptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="城市"></apex:outputText>
<apex:selectList value="{!cid}" size="1" disabled="{!NOT(control1)}">
<apex:selectOptions value="{!cityoptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>

<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="NKA/非NKA" ></apex:outputText>
<apex:selectList value="{!sNKA}" size="1">
<apex:selectOptions value="{!NKAoptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>

<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="连锁系统"></apex:outputText>
<apex:selectList value="{!sLink}" size="1">
<apex:selectOptions value="{!Linkoptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem ></apex:pageBlockSectionItem>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock title="创建AP表第二步,选择门店" rendered="{!isstep2}">
<apex:pageBlockButtons >
<apex:commandButton action="{!prestep}" value="上一步" />
<apex:commandButton action="{!step2}" value="下一步" />
</apex:pageBlockButtons>
<apex:pageBlockSection >
<apex:pageBlockSectionItem >
<apex:outputText value="门店"></apex:outputText>
<apex:selectList value="{!sId}" size="1">
<apex:selectOptions value="{!soptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>
<!--<apex:inputField value="{!tempobj.Store__c}"></apex:inputField>-->
<apex:pageBlockSectionItem >
<apex:commandButton value="添加" action="{!addcity}"></apex:commandButton>
<apex:commandButton value="添加所有门店" action="{!addAll}"></apex:commandButton>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem ></apex:pageBlockSectionItem>
</apex:pageBlockSection>
<apex:pageBlockTable value="{!apsts}" var="o" rendered="{!tcount}">
<apex:column width="10%"><apex:commandLink value="删除" action="{!itemdelete}">
<apex:param name="objid" value="{!o.Store__c}"/></apex:commandLink></apex:column>
<apex:column value="{!o.Store__c}"></apex:column>
</apex:pageBlockTable>
</apex:pageBlock>

<apex:pageBlock id="page" title="创建AP表第三步,输入详细信息" rendered="{!isstep3}">
<apex:pageBlockButtons >
<apex:commandButton action="{!onSave}" value="确定"/>
<apex:commandButton action="{!onCancel}" value="退出"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="请输入数据" id="inputdata">
<apex:inputField value="{!apt.StoreDescription__c}"></apex:inputField>
<apex:inputField value="{!apt.StoreQuantity__c}"></apex:inputField>
<apex:inputField value="{!apt.APBrand__c}"></apex:inputField>
<apex:inputField value="{!apt.Campaigns__c}" >
<apex:actionSupport event="onchange" action="{!campaignchanged}" rerender="page"/>
</apex:inputField>
<apex:inputField value="{!apt.AccountType__c}" >
<apex:actionSupport event="onclick" action="{!accounttypeprotect}"/>
</apex:inputField>
<apex:inputField value="{!apt.CostType__c}" >
<apex:actionSupport event="onchange" action="{!CostTypechanged}"/>
</apex:inputField>
<apex:inputField value="{!apt.DetailCostType__c}" >
<apex:actionSupport event="onchange" action="{!DetailCostChanged}" />
</apex:inputField>
<apex:inputField value="{!apt.TFItype__c}" rendered="{!isTFI}">
</apex:inputField>
<apex:inputField value="{!apt.Payment__c}"></apex:inputField>
<apex:inputField value="{!apt.ReceivablesObject__c}"/>
<apex:inputField value="{!apt.ReceivablesObjectName__c}"/>
<apex:inputField value="{!apt.Applicant__c}"/>
<apex:inputField value="{!apt.beginDate__c}"/>
<apex:inputField value="{!apt.endDate__c}"/>
<apex:outputField value="{!apt.Retail_Customers__c}" rendered="{!showNKA}"/>
<apex:outputField value="{!apt.NKA__c}" rendered="{!showNKA}"/>
<apex:pageBlockSectionItem rendered="{!showNKA}" >
<apex:outputText value="费用归属"></apex:outputText>
<apex:selectList value="{!apt.BudgetSource__c}" size="1">
<apex:selectOptions value="{!bsoptions}"></apex:selectOptions>
</apex:selectList>
</apex:pageBlockSectionItem>
<apex:inputField value="{!apt.Remarks__c}"></apex:inputField>
</apex:pageBlockSection>
<apex:pageBlockSection title="产品相关费用明细" rendered="{!productrelated}">
<apex:inputField value="{!apt.Product__c}"/>
<apex:inputField value="{!apt.StandardPrice__c}"/>
<apex:inputField value="{!apt.PromotionPrice__c}"/>
<apex:inputField value="{!apt.StoreStandardPrice__c}"/>
<apex:inputField value="{!apt.StorePromotionPrice__c}"/>
<apex:inputField value="{!apt.PromotionProdcutNumber__c}"/>
<apex:inputField value="{!apt.PromotionPriceAdd__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="临促工资费用明细" rendered="{!promotion}">
<apex:inputField value="{!apt.PromotionSalary__c}"/>
<apex:inputField value="{!apt.PromoterNumber__c}"/>
<apex:inputField value="{!apt.PromotionDay__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="费用明细" rendered="{!othercost}">
<apex:inputField value="{!apt.FeeDescription__c}"/>
<apex:inputField value="{!apt.applicationamount__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection id="campaigninfo" title="市场活动信息" rendered="{!campaignisfilled}">
<apex:outputField value="{!apt.CampaignType__c}"/>
<apex:outputField value="{!apt.CampaignItem__c}"/>
<!-- <apex:outputField value="{!apt.CampaignCode__c}"/>-->
<apex:outputField value="{!apt.CampaignDescription__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>


<apex:pageBlock rendered="{!checkVal}">
<apex:pageBlockTable value="{!apts}" var="o">
<apex:column headervalue="AP表号"><apex:outputLink value="/{!o.id}">{!o.Name}</apex:outputLink></apex:column>
<apex:column headervalue="活动" value="{!o.Campaigns__c}"></apex:column>
<apex:column headervalue="金额" value="{!o.Total__c}"></apex:column>
<apex:column headervalue="客户类型" value="{!o.AccountType__c}"></apex:column>
<apex:column headervalue="费用大类" value="{!o.CostType__c}"></apex:column>
<apex:column headervalue="费用小类" value="{!o.DetailCostType__c}"></apex:column>
<apex:column headervalue="需交核销凭证" value="{!o.writeoffverification__c}"></apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>

 

any suggestion would be thanked

  • August 27, 2012
  • Like
  • 0

I add a field on the PE edition, but the field is only visualable by somebody. I remove the field from the pagelayout. and I want to show the field on a report. but the field is not shown on the report.

any suggestion would be appreciate.Thanks.

  • July 31, 2012
  • Like
  • 0

I need to create 1000 high volume portal license users which should create from the contact.

I think it's a foolish way to click the button on the contact detail page to create the user. 

Is there any way to create them in batch? I'm crazy to click the work with portal buton one by one.

Any suggestion would be appriciated

Thanks.

  • May 17, 2012
  • Like
  • 0

I write a apex class to import csv file from the VF page. The 'BLOB is not a valid UTF-8 string' raising.I don't how to set the csv encode. or is there any way to convert the file to UTF-8 by apex code.

Any suggestion would be appriciate.

Thanks.

  • May 16, 2012
  • Like
  • 0

When change my apex code in the Force.com IDE and save it. The IDE don't save my code to the test server. The IDE works fine before I update the IDE.

I can't find the issues.

Any sugesstion would be appreciated.

Thanks!

  • April 19, 2012
  • Like
  • 0

I have many volume customer portal users.The record created by them can't be seen each other.But I wan't the account owner of the corresponding contact to view the record.How can I achieve this goal.

Thanks.

  • April 12, 2012
  • Like
  • 0

I want to get the approval process status of a approvaling process.So If the the status is pendding,I can email to notify the approver.Are there any way to achieve this ?

Thanks

  • December 31, 2011
  • Like
  • 0

In my opportunity object.When the stage is changed.I need different approval process.I want to add different button for different approval process.I think I can write the Apex for calling the approval process.But how to use the default approval dialog?

 

Thanks 

  • December 02, 2011
  • Like
  • 0

I create my app on my developer enviroment.I want to move it to my enterprise edition now. Are there any way to move it ? or directly upgrade the developer enviroment?

 

Any help would be appreciate. 

Thanks

  • November 24, 2011
  • Like
  • 0

How to disable the boring active mail when I use other PC to login.

Thanks

  • October 26, 2011
  • Like
  • 0

Is there any way to set the display order for the related-list in the standard pagelayout.

I found that the display of the related-list is disordered.

I need to set them in order.

Thanks

  • August 30, 2011
  • Like
  • 0

I have a fomula field which returns percent. It displays correctlly in the object page layout.But the percent character was missing when the record show in the relate list in it's father object's page.

Is there any way to configure to the percent field showing? Or it's just the bug of salesforce?

Thanks

  • August 30, 2011
  • Like
  • 0

I can't find the option to create the sandbox enviroment in the setup console.do we need to contact salesforce to create the sandbox enviroment? and how to refresh the production to the sandbox enviromnet?

 

Thanks

  • August 16, 2011
  • Like
  • 0

I've a update trigger on a custome object.Does trigger works when the fomula field of the object update?

I'm looking for the reply.

any suggestion would be appreciated.

thanks

  • August 16, 2011
  • Like
  • 0

every custom object has a history object called objecthistory.

I use the object to track the custom object field. It works ok. But I don't know how to writte the test code.because the historyobject is readonly.

  • August 02, 2011
  • Like
  • 0
I found one of my apex class change to inactive.But I can't change it back.I can't find the active check box in the edit mode
  • August 01, 2011
  • Like
  • 0

The code is  like this When the claim.Checked_GP_Date__c have value I will rerender the Id btnApprove.but only the button on the top of block is actived.the bottom one is still grey.

 

 <apex:commandButton id="btnApprove" value="Approve" disabled="{!ISNULL(claim.Checked_GP_Date__c)}" action="{!saveApprovedClaim}" status="splashStatus" reRender="procedurePanel,errorPanel,pageBlk" onclick="setSubmit()"/>

 

any sugesstions?

Thanks

  • July 24, 2011
  • Like
  • 0

I want rerender my page when one lookup field changed? I add a js function for the event onchange of the lookup field.

<apex:inputField id="patient" value="{!claim.Patient_Name__c}" onchange="patientNameChanged();" required="true"                 styleClass="requiredClass"></apex:inputField> 

 

function patientNameChanged() {           if(document.getElementById('{!$Component.formId.pageBlk.pgBlockSec1.patient}').value == '') {                submit = false;           } else {                         document.getElementById('patientId').value =                document.getElementById('{!$Component.formId.pageBlk.pgBlockSec1.patient}' + '_lkid').value;               setSubmit();                patientSelected();         

  }                    }

 

but the document.getElementById('{!$Component.formId.pageBlk.pgBlockSec1.patient}' + '_lkid').value is the value before the lookup function.

 

I want to get the value that after the lookup execution.

 

any sugesstion would be appreciated. thanks

 

  • July 19, 2011
  • Like
  • 0

I use <apex:inputField> in the VF page.Which to input a lookup field.When I choose the value.The lookup dialog don't disappear.

Does anyone know the reason.

any sugestion would be appreciated.

Thanks

  • July 18, 2011
  • Like
  • 0

The lookup dialog of Account or Contact has a New button beside the Go button.we can use that button to create new Account or contact record.But I can't find the button on the custom object lookup dialog.

Is there any way to add the button on the custom object lookup dialog?

Any suggestion would be greatly appreciated.Thanks

  • July 16, 2011
  • Like
  • 0

My VF have different status.which control what to render on the page, and the buttons on the page change the page status.

When I click the button on the VF,The controller did not trigger the action.But the VF page refresh to the initial status.

 

<apex:page standardController="APTable__c" extensions="CreateAPTable">
<apex:outputPanel style="color:red">
<apex:messages />
</apex:outputPanel>
<style type="text/css">
.custPopup{
background-color: white;
border-width: 2px;
border-style: solid;
border-color: rgb(14,158,207);
z-index: 9999;
left: 50%;
padding:10px;
position: absolute;
width: 500px;
margin-left: -250px;
top:100px;
text-align:center;
}
.popupBackground{
background-color:black;
opacity: 0.20;
filter: alpha(opacity = 20);
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 9998;
}

</style>
<apex:form >
<apex:outputPanel styleClass="popupBackground" layout="block" rendered="{!shouldpopup}"/>
<apex:outputPanel styleClass="custPopup" layout="block" rendered="{!shouldpopup}">
<apex:outputPanel layout="block">请选择连锁系统</apex:outputPanel>
<apex:outputPanel layout="block"><apex:outputText value="非NKA连锁系统"></apex:outputText>
<apex:selectList value="{!sLink1}" size="1">
<apex:selectOptions value="{!NKAoptions1}"/>
</apex:selectList></apex:outputPanel>
<apex:outputPanel layout="block"><apex:commandButton value="确定" action="{!closePopup}"/><apex:commandButton value="取消" action="{!popcancel}"></apex:commandButton></apex:outputPanel>
</apex:outputPanel>
<apex:pageBlock title="创建AP表第一步,选择客户" rendered="{!isstep1}">
<apex:pageBlockButtons >
<apex:commandButton action="{!step1}" value="下一步" rendered="{!hideprovince}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection >
<apex:inputField value="{!apt.Account__c}">
<apex:actionSupport event="onchange" action="{!chooseaaccount}"/>
</apex:inputField>
<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="省区"></apex:outputText>
<apex:selectList value="{!pId}" size="1" >
<apex:actionSupport event="onchange" action="{!chooseprovince}"/>
<apex:selectOptions value="{!poptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="城市"></apex:outputText>
<apex:selectList value="{!cid}" size="1" disabled="{!NOT(control1)}">
<apex:selectOptions value="{!cityoptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>

<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="NKA/非NKA" ></apex:outputText>
<apex:selectList value="{!sNKA}" size="1">
<apex:selectOptions value="{!NKAoptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>

<apex:pageBlockSectionItem rendered="{!hideprovince}">
<apex:outputText value="连锁系统"></apex:outputText>
<apex:selectList value="{!sLink}" size="1">
<apex:selectOptions value="{!Linkoptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem ></apex:pageBlockSectionItem>
</apex:pageBlockSection>
</apex:pageBlock>
<apex:pageBlock title="创建AP表第二步,选择门店" rendered="{!isstep2}">
<apex:pageBlockButtons >
<apex:commandButton action="{!prestep}" value="上一步" />
<apex:commandButton action="{!step2}" value="下一步" />
</apex:pageBlockButtons>
<apex:pageBlockSection >
<apex:pageBlockSectionItem >
<apex:outputText value="门店"></apex:outputText>
<apex:selectList value="{!sId}" size="1">
<apex:selectOptions value="{!soptions}"/>
</apex:selectList>
</apex:pageBlockSectionItem>
<!--<apex:inputField value="{!tempobj.Store__c}"></apex:inputField>-->
<apex:pageBlockSectionItem >
<apex:commandButton value="添加" action="{!addcity}"></apex:commandButton>
<apex:commandButton value="添加所有门店" action="{!addAll}"></apex:commandButton>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem ></apex:pageBlockSectionItem>
</apex:pageBlockSection>
<apex:pageBlockTable value="{!apsts}" var="o" rendered="{!tcount}">
<apex:column width="10%"><apex:commandLink value="删除" action="{!itemdelete}">
<apex:param name="objid" value="{!o.Store__c}"/></apex:commandLink></apex:column>
<apex:column value="{!o.Store__c}"></apex:column>
</apex:pageBlockTable>
</apex:pageBlock>

<apex:pageBlock id="page" title="创建AP表第三步,输入详细信息" rendered="{!isstep3}">
<apex:pageBlockButtons >
<apex:commandButton action="{!onSave}" value="确定"/>
<apex:commandButton action="{!onCancel}" value="退出"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="请输入数据" id="inputdata">
<apex:inputField value="{!apt.StoreDescription__c}"></apex:inputField>
<apex:inputField value="{!apt.StoreQuantity__c}"></apex:inputField>
<apex:inputField value="{!apt.APBrand__c}"></apex:inputField>
<apex:inputField value="{!apt.Campaigns__c}" >
<apex:actionSupport event="onchange" action="{!campaignchanged}" rerender="page"/>
</apex:inputField>
<apex:inputField value="{!apt.AccountType__c}" >
<apex:actionSupport event="onclick" action="{!accounttypeprotect}"/>
</apex:inputField>
<apex:inputField value="{!apt.CostType__c}" >
<apex:actionSupport event="onchange" action="{!CostTypechanged}"/>
</apex:inputField>
<apex:inputField value="{!apt.DetailCostType__c}" >
<apex:actionSupport event="onchange" action="{!DetailCostChanged}" />
</apex:inputField>
<apex:inputField value="{!apt.TFItype__c}" rendered="{!isTFI}">
</apex:inputField>
<apex:inputField value="{!apt.Payment__c}"></apex:inputField>
<apex:inputField value="{!apt.ReceivablesObject__c}"/>
<apex:inputField value="{!apt.ReceivablesObjectName__c}"/>
<apex:inputField value="{!apt.Applicant__c}"/>
<apex:inputField value="{!apt.beginDate__c}"/>
<apex:inputField value="{!apt.endDate__c}"/>
<apex:outputField value="{!apt.Retail_Customers__c}" rendered="{!showNKA}"/>
<apex:outputField value="{!apt.NKA__c}" rendered="{!showNKA}"/>
<apex:pageBlockSectionItem rendered="{!showNKA}" >
<apex:outputText value="费用归属"></apex:outputText>
<apex:selectList value="{!apt.BudgetSource__c}" size="1">
<apex:selectOptions value="{!bsoptions}"></apex:selectOptions>
</apex:selectList>
</apex:pageBlockSectionItem>
<apex:inputField value="{!apt.Remarks__c}"></apex:inputField>
</apex:pageBlockSection>
<apex:pageBlockSection title="产品相关费用明细" rendered="{!productrelated}">
<apex:inputField value="{!apt.Product__c}"/>
<apex:inputField value="{!apt.StandardPrice__c}"/>
<apex:inputField value="{!apt.PromotionPrice__c}"/>
<apex:inputField value="{!apt.StoreStandardPrice__c}"/>
<apex:inputField value="{!apt.StorePromotionPrice__c}"/>
<apex:inputField value="{!apt.PromotionProdcutNumber__c}"/>
<apex:inputField value="{!apt.PromotionPriceAdd__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="临促工资费用明细" rendered="{!promotion}">
<apex:inputField value="{!apt.PromotionSalary__c}"/>
<apex:inputField value="{!apt.PromoterNumber__c}"/>
<apex:inputField value="{!apt.PromotionDay__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection title="费用明细" rendered="{!othercost}">
<apex:inputField value="{!apt.FeeDescription__c}"/>
<apex:inputField value="{!apt.applicationamount__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection id="campaigninfo" title="市场活动信息" rendered="{!campaignisfilled}">
<apex:outputField value="{!apt.CampaignType__c}"/>
<apex:outputField value="{!apt.CampaignItem__c}"/>
<!-- <apex:outputField value="{!apt.CampaignCode__c}"/>-->
<apex:outputField value="{!apt.CampaignDescription__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>


<apex:pageBlock rendered="{!checkVal}">
<apex:pageBlockTable value="{!apts}" var="o">
<apex:column headervalue="AP表号"><apex:outputLink value="/{!o.id}">{!o.Name}</apex:outputLink></apex:column>
<apex:column headervalue="活动" value="{!o.Campaigns__c}"></apex:column>
<apex:column headervalue="金额" value="{!o.Total__c}"></apex:column>
<apex:column headervalue="客户类型" value="{!o.AccountType__c}"></apex:column>
<apex:column headervalue="费用大类" value="{!o.CostType__c}"></apex:column>
<apex:column headervalue="费用小类" value="{!o.DetailCostType__c}"></apex:column>
<apex:column headervalue="需交核销凭证" value="{!o.writeoffverification__c}"></apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>

 

any suggestion would be thanked

  • August 27, 2012
  • Like
  • 0

I add a field on the PE edition, but the field is only visualable by somebody. I remove the field from the pagelayout. and I want to show the field on a report. but the field is not shown on the report.

any suggestion would be appreciate.Thanks.

  • July 31, 2012
  • Like
  • 0

When change my apex code in the Force.com IDE and save it. The IDE don't save my code to the test server. The IDE works fine before I update the IDE.

I can't find the issues.

Any sugesstion would be appreciated.

Thanks!

  • April 19, 2012
  • Like
  • 0

I want to get the approval process status of a approvaling process.So If the the status is pendding,I can email to notify the approver.Are there any way to achieve this ?

Thanks

  • December 31, 2011
  • Like
  • 0

In my opportunity object.When the stage is changed.I need different approval process.I want to add different button for different approval process.I think I can write the Apex for calling the approval process.But how to use the default approval dialog?

 

Thanks 

  • December 02, 2011
  • Like
  • 0

Is there any way to set the display order for the related-list in the standard pagelayout.

I found that the display of the related-list is disordered.

I need to set them in order.

Thanks

  • August 30, 2011
  • Like
  • 0

I have a fomula field which returns percent. It displays correctlly in the object page layout.But the percent character was missing when the record show in the relate list in it's father object's page.

Is there any way to configure to the percent field showing? Or it's just the bug of salesforce?

Thanks

  • August 30, 2011
  • Like
  • 0

The code is  like this When the claim.Checked_GP_Date__c have value I will rerender the Id btnApprove.but only the button on the top of block is actived.the bottom one is still grey.

 

 <apex:commandButton id="btnApprove" value="Approve" disabled="{!ISNULL(claim.Checked_GP_Date__c)}" action="{!saveApprovedClaim}" status="splashStatus" reRender="procedurePanel,errorPanel,pageBlk" onclick="setSubmit()"/>

 

any sugesstions?

Thanks

  • July 24, 2011
  • Like
  • 0

I use <apex:inputField> in the VF page.Which to input a lookup field.When I choose the value.The lookup dialog don't disappear.

Does anyone know the reason.

any sugestion would be appreciated.

Thanks

  • July 18, 2011
  • Like
  • 0

When I register a free force.com edition eniroment that I found that the apex can't be created. But I found on the web page http://www.salesforce.com/cn/platform/ep-comparison.jsp it says that the apex was supported.

 

Any suggestions would be greatly appreciated.Thanks

  • July 11, 2011
  • Like
  • 0

I create a task which whoid has a value to attach to a record .

If the task status is finished.I want to update the status of the attached record.

but how can I get the sobject type.only I konw is a Id.

Any suggestions would be greatly appreciated.Thanks

 

  • July 06, 2011
  • Like
  • 0

 <apex:pageBlockSection title="hello">

The page will show a header bar with the title.But the text color is white.It looks not clearly.I want to know how to modify the style of the text.

Tanks

  • April 20, 2011
  • Like
  • 0