• sandeshd
  • NEWBIE
  • 5 Points
  • Member since 2011

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

Hi,

 

I have two picklist fields and the value of one should depend on the other. I cannot use dependent picklists as I get the values into the picklist through some logic in controller class.

 

I am using selectOptions for dispalying the picklist values. I tried using actionSuppport , onchange functionality to change the values but wasnt successful. 

 

Please let me know how can I achieve this. 

 

Thanks.

Hi ,

 

Unable to stop execution of oncomplete on click of a command button even if APexpages has error messages. Still Oncomplete is getting executed and its running in a different context (I guess) and the error messages are gone and also unable to stop the execution of the functionality using any conditions as its running in a different context ( I guess). Please let me know how can I stop oncomplete from getting executed when we have error messages.

 

Thanks.

Hi,

 

getDescribe() method is not working . 

 

code:

 Schema.Describefieldresult result = Quote.test__c.getDescribe();

 

It gives me error saying that : Method does not exist or incorrect signature: [String].getDescribe()

 

but the code snippet is working fine in developer console or execute Anonymous block.

 

Pls suggest... I have read in Some blog that there its a problem with version of the class,  I tried changing it but still the issue isnt resolved.

 

Thanks.

Hi,

 

I am trying to access an image from an html document and I am not able to see that image when I click on that html file. a small broken image gets displayed on the top left corner.

 

I have uploaded both the image and document in same folder

 

I have seen some old link regarding this problem but I dont see those options now

 

http://boards.developerforce.com/t5/General-Development/Unable-to-view-images-from-Salesforce-in-my-...

 

Thanks.

Hi,

 

I am trying to access an image from an html document and I am not able to see that image when I click on that html file. a small broken image gets displayed on the top left corner.

 

I have uploaded both the image and document in same folder

 

I have seen some old link regarding this problem but I dont see those options now

 

http://boards.developerforce.com/t5/General-Development/Unable-to-view-images-from-Salesforce-in-my-html-templates/td-p/97488

 

Thanks.

 

 

Hi,

 

I am new to chatter. Can any one provide me good links for documents related to chatter and also any code samples.

 

Thanks.

We have a requirement where we need to access all the picklist values  through a visual force page irrespective of the record type.

Hereis the sample code :

 

<apex:page standardController="Opportunity">

<apex:form>

<apex:InputField value = "{!Opportunity.DeliveryInstallationStatus__c}"/>

</apex:form>

</apex:page>

 

It is displaying only the picklist values  of my default record type. I want all the picklist values of that field. 

 

Please let me know how  to achieve that...

Encrypted fields are enabled for our organization . I want to access the field value through apex code. We are sending that field value through a web service call to other interface and the actual values are not getting transfered over. the encrypted values i.e (****) is getting transferred over. Is there any way that I can access the field value through code.

 

 

Please suggest

We fix defects and move the fixes to prod and we have deployments very frequently. We have many test cases and to deploy the code to prod it is taking almost 2 hours. If we did any mistake or if any of the test class fails for what ever reason it might be, still we have to wait for the two hours and fix the problem and again start the deployment and again we need to wait for two hrs and fix it and start the deployment again.....Its so painful to do it as we have frequent releases...

Is there any way that we can stop the deployment in the middle as soon as we see any test class failing other than to wait till all the test classes get executed.

 

Pls help...

Hi

 

I need a popup to be displayed when user changes the opportunity stage to a proposal stage and when he saves the page.  I am using standard controller.  If not direct approach do we have any alternative approach  using triggers or some thing like that. We have around 500 fields on that opportunity object. 

 

Please suggest.

 

 

 

 

Hi,

 

I am able to  open a lookup page and able to see recently viewed list and when I search for a particular user and when I click on the user  nothing is happening.

 

How can I select a user from the lookup and get back to my actual page.

 

My code is:

 

<apex:page >

<script type="text/javascript">

function lookupWindow(){
var lookupwindow = window.open('/_ui/common/data/LookupPage?lkfm=editPage&lknm=newOwn&lktp=005&lksrch=');
}
</script>

 <apex:form >

 <apex:inputText />

 <a href="javascript&colon;void(0)" id="link" title="Reference User Lookup (New Window)" tabindex="6"  onclick="lookupWindow()">        <img class="lookupIcon" title="Reference User Lookup (New Window)" alt="Reference User Lookup (New Window)" src="/s.gif"/></a> </apex:form> </apex:page>

 

 

Pls help...

Hi,

 

I need to create a lookup for all users where isactive is true and a custom field voltype = bulk.

 

Please  suggest.

 

 

Hi,

 

we have integration from salesforce to informatica.

Can any one give me an idea of how to save the integration logs for future reference.

Hi,

 

I have two picklist fields and the value of one should depend on the other. I cannot use dependent picklists as I get the values into the picklist through some logic in controller class.

 

I am using selectOptions for dispalying the picklist values. I tried using actionSuppport , onchange functionality to change the values but wasnt successful. 

 

Please let me know how can I achieve this. 

 

Thanks.

Hi,

 

getDescribe() method is not working . 

 

code:

 Schema.Describefieldresult result = Quote.test__c.getDescribe();

 

It gives me error saying that : Method does not exist or incorrect signature: [String].getDescribe()

 

but the code snippet is working fine in developer console or execute Anonymous block.

 

Pls suggest... I have read in Some blog that there its a problem with version of the class,  I tried changing it but still the issue isnt resolved.

 

Thanks.

Hi,

 

I am trying to access an image from an html document and I am not able to see that image when I click on that html file. a small broken image gets displayed on the top left corner.

 

I have uploaded both the image and document in same folder

 

I have seen some old link regarding this problem but I dont see those options now

 

http://boards.developerforce.com/t5/General-Development/Unable-to-view-images-from-Salesforce-in-my-...

 

Thanks.

We have a requirement where we need to access all the picklist values  through a visual force page irrespective of the record type.

Hereis the sample code :

 

<apex:page standardController="Opportunity">

<apex:form>

<apex:InputField value = "{!Opportunity.DeliveryInstallationStatus__c}"/>

</apex:form>

</apex:page>

 

It is displaying only the picklist values  of my default record type. I want all the picklist values of that field. 

 

Please let me know how  to achieve that...

Hi,

 

is it possible to to see whether a particular user is logged into salesforce through apex?

 

my use case is after the userId's are created , i have to check whether that the user logged into salesforceor not,

if not i have to send them a reminder email.

 

can anyine please tell me asolution to achieve this

 

Thanks much !

  • September 22, 2011
  • Like
  • 0

Hello,

 

I have a request to display some data on a Salesforce dashboard that does not reside in Salesforce. Therefore, I'm trying to create a Visualforce page that will display the static data. I would like the Visualforce dashboard component to look like image A (below).

 

Image A:



 

My current Visualforce code is as follows:

 

<apex:page>
    <apex:pageBlock mode="maindetail">
        <apex:pageblocksection columns="1">
            <apex:outputText value="Value A: 0"/>
        </apex:pageblocksection>
        <apex:pageblocksection columns="1">
            <apex:outputLabel value="Value B: 0"/>            
        </apex:pageblocksection>
        <apex:pageblocksection columns="1">
            <apex:outputLabel value="Value C: 0"/>            
        </apex:pageblocksection>
    </apex:pageBlock>
</apex:page>



This gets the data I want to display on the dashboard but it's not formatted like image A. It looks like image B (below).

 

Image B:



I would really like the text and the value to be stored in separate cells (with the right-hand cell being right-aligned) and have the alternating backgroud color if possible.

 

ANY help is greatly appreciated!!

  • August 25, 2011
  • Like
  • 1

We fix defects and move the fixes to prod and we have deployments very frequently. We have many test cases and to deploy the code to prod it is taking almost 2 hours. If we did any mistake or if any of the test class fails for what ever reason it might be, still we have to wait for the two hours and fix the problem and again start the deployment and again we need to wait for two hrs and fix it and start the deployment again.....Its so painful to do it as we have frequent releases...

Is there any way that we can stop the deployment in the middle as soon as we see any test class failing other than to wait till all the test classes get executed.

 

Pls help...

Hi

 

I need a popup to be displayed when user changes the opportunity stage to a proposal stage and when he saves the page.  I am using standard controller.  If not direct approach do we have any alternative approach  using triggers or some thing like that. We have around 500 fields on that opportunity object. 

 

Please suggest.

 

 

 

 

Hi,

 

I need to create a lookup for all users where isactive is true and a custom field voltype = bulk.

 

Please  suggest.

 

 

Hi,

 

we have integration from salesforce to informatica.

Can any one give me an idea of how to save the integration logs for future reference.