• salesforcedev.ax840
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 12
    Replies

Hi,

There is changes to  instance . but the developers write code in s-control like this:

            var objOpp  = new sforce.SObject("Opportunity");
            objOpp.set("Id",C_OpportunityID);
            objOpp.set("Change_Type__c","New");
            objOpp.set("Change_Description__c", "New Contract");
            objOpp.set("Contract_User__c", Name );
            objOpp.set("Contract_User_Id__c", UserId );
            objOpp.set("Contract_URL__c","https://emea.salesforce.com/"+C_ContractID);

 

I want to get the Url what ever it is in browser if the instance changes. I tried with "/" by deleting https://emea.salesforce.com but in opportunity display the ural is showing http:///contractID ...

 

can anyone tell how to resolve it..

thank you.

hi can anyone help me in freezing my column headers in VF page:

my code is in this format:

<apex:outputPanel>

<apex:pageBlockTable>

<apex:column >

<apex:facet name="header">Campaign ID</apex:facet>
<apex:outputField value="{!currentCampaign.Campaign_ID__c}"/>
</apex:column

<apex:facet />

<apex:outputField />

</apex:column>

----------------------------columns follows(20 columns)------------

</outputpanel>

 

i want ouput same way like this link:

http://www.javascripttoolbox.com/lib/scrollingdatagrid/     (open in internet explorer)

can anyone help me.. 

thank you

Hi 

I have a table display on screen and a button below it.this table data is disabled so no one can make changes.

i want to hide this table when button is pressed and show table when button pressed ..

need to change button name too while it happen...

i did in html and javascript... so anyone can help in visual force pages...

 

 

 

<apex:outputPanel id="summary" >

<apex:pageBlock >

<apex:form >

 

 

                               table shown as summary

 

 

</apex:form>

 

</apex:pageBlock>

</apex:outputPanel>

 

 

 

<apex:form >
<apex:commandButton value="Hide Summary"  reRender="summary" />
</apex:form>

 

<apex:form ><apex:commandButton value="Hide Summary"  reRender="summary" /></apex:form>

 

 

any ideas... appreciated...thank you

Hi,

 I am developing a select list. when one option is selected from list it must show some apex code where it display input field and other radio buttons...

for  example if i select country it must dispplay state,district,code and if i change option to address it must display street number,house number.

 

can anyone help me. i wrote select list and selectoptions :

 

 

<apex:selectList size="1" value="{!selectafield}"  >
<apex:selectOptions Value="{!selectfield}" />

 

<apex:selectList size="1" value="{!selectafield}"  ><apex:selectOptions Value="{!selectfield}" />

 

 

 

and in controller i wrote the selectoptions:

String[] selectafield = new String[]{};

 

public List<SelectOption> getselectfield() {

        List<SelectOption> options = new List<SelectOption>();

        options.add(new SelectOption('country ','country'));

        options.add(new SelectOption('address ','address'));

       return options;

    }

 

 

public String[] getselectafield() {

        return selectafield;

    }

 

    public void setselectafield(String[] seelctafield) {

        this.selectafield = selectafield;

    }

 

please reply... 

need help..

thank you

 

Hi,

There is changes to  instance . but the developers write code in s-control like this:

            var objOpp  = new sforce.SObject("Opportunity");
            objOpp.set("Id",C_OpportunityID);
            objOpp.set("Change_Type__c","New");
            objOpp.set("Change_Description__c", "New Contract");
            objOpp.set("Contract_User__c", Name );
            objOpp.set("Contract_User_Id__c", UserId );
            objOpp.set("Contract_URL__c","https://emea.salesforce.com/"+C_ContractID);

 

I want to get the Url what ever it is in browser if the instance changes. I tried with "/" by deleting https://emea.salesforce.com but in opportunity display the ural is showing http:///contractID ...

 

can anyone tell how to resolve it..

thank you.

hi can anyone help me in freezing my column headers in VF page:

my code is in this format:

<apex:outputPanel>

<apex:pageBlockTable>

<apex:column >

<apex:facet name="header">Campaign ID</apex:facet>
<apex:outputField value="{!currentCampaign.Campaign_ID__c}"/>
</apex:column

<apex:facet />

<apex:outputField />

</apex:column>

----------------------------columns follows(20 columns)------------

</outputpanel>

 

i want ouput same way like this link:

http://www.javascripttoolbox.com/lib/scrollingdatagrid/     (open in internet explorer)

can anyone help me.. 

thank you

Hi 

I have a table display on screen and a button below it.this table data is disabled so no one can make changes.

i want to hide this table when button is pressed and show table when button pressed ..

need to change button name too while it happen...

i did in html and javascript... so anyone can help in visual force pages...

 

 

 

<apex:outputPanel id="summary" >

<apex:pageBlock >

<apex:form >

 

 

                               table shown as summary

 

 

</apex:form>

 

</apex:pageBlock>

</apex:outputPanel>

 

 

 

<apex:form >
<apex:commandButton value="Hide Summary"  reRender="summary" />
</apex:form>

 

<apex:form ><apex:commandButton value="Hide Summary"  reRender="summary" /></apex:form>

 

 

any ideas... appreciated...thank you

Hi, 

A stupid question probably and probably in the wrong place too, but I need to be certain.

 

Regarding the email that was sent to System administrators "Action Required: Upcoming Changes to your EU0 Service".

 

One bullet point says avoiding hard coding integrations to specific server instance URLs (for example na6.salesforce.com).

 

I assume these will still be ok?

- www.salesforce.com

- emea.salesforce.com

- test.salesforce.com

 

Thanks / Niklas