• Rambo
  • NEWBIE
  • 25 Points
  • Member since 2010

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

Hi,

 

Please help me on How to display Notes and Attachments inside Visualforce page

Hi All,

 

Is it possible to trigger an email every 1 hr after a case is created with Status = 'New' until its status is modified?.

 

 

Its a bit urgent.

  • August 24, 2012
  • Like
  • 0

Hi,

 

I have a requirement wherein I need to prepopulate the Due Date field on tasks[Created from an Opportunity] by the current date. I have overrridden the New button of tasks with an S-control. 

 

It would be helpful if you could help me in pre-populating the due date field with the current date.

 

 

 

  • July 13, 2012
  • Like
  • 0

Hi All,

            It would be helpful if you could let me know on how to import data from excel into Salesforce programatically (Visual Force & Apex).

I am required to create a button which would attach an excel sheet. Once the excel sheet is attached, records for the Custom object should be created automatically based on the values in the excel sheet..

 

Thanks in advance..



  • August 23, 2011
  • Like
  • 0

Hi All,

            It would be helpful if you could let me know on how to import data from excel into Salesforce programatically (Visual Force).

I am required to create a button which would attach an excel sheet. Once the excel sheet is attached, records for the Custom object should be created automatically based on the values in the excel sheet..

 

Thanks in advance..

  • August 22, 2011
  • Like
  • 0

Hi Friends,

 

I had created a field by specifying its help text. Then I tried to display it in VF but wat happened was the bubble is getting displayed. When i tried to hover over the bubble, the help text is not getting displayed.. But its working in standard page. I tried to display the field using both <apex:pageblocksection> & <apex:pageblocksectionitem>....Help reqd immediately....

 

 

Thanks in advance....

  • April 06, 2011
  • Like
  • 0

Hi All,

           I currently pass a variable value in my url when redirecting from VF Page 1 to VF Page 2. And i am performing some functionalities with that value. I wanted to know whether can we hide the values passed in the url similiar to what we can do in java???

 

My url is like dis :

www.google.com?id=xxxx&abc=yyyyy

 

I wanted to have dat abc value in the url but the visibility of my url should be like this:

www. google.com?id=xxx

 

Help needed in this...

 

 

 

  • February 26, 2011
  • Like
  • 0

Hello Friends,

                          It would be helpful if anyone could help in achieving these funtionality,

 

                          1. Creating a "MultiSelect Picklist" using VisualForce.

                          2. Once I save the form after selecting some values in that MultiSelect Picklist then the next time If I run that   

                               page those selected values should not be available in the available section of that multiselect Picklist.

 

                           Thanks in advance!!!

 

 

 

 

  • December 06, 2010
  • Like
  • 0

 Hello Friends,

 

                           I have two VF pages "page1" and "page2" which uses the same controller. The issue is when I want to  

                           redirect to "page2" from a different page it always redirects to "page1" rather than "page2".

 

                     Any valuble suggestions would be helpful!!!:manhappy:

  • November 23, 2010
  • Like
  • 0

Hi,

 

I have a requirement wherein I need to prepopulate the Due Date field on tasks[Created from an Opportunity] by the current date. I have overrridden the New button of tasks with an S-control. 

 

It would be helpful if you could help me in pre-populating the due date field with the current date.

 

 

 

  • July 13, 2012
  • Like
  • 0

Hi All,

            It would be helpful if you could let me know on how to import data from excel into Salesforce programatically (Visual Force & Apex).

I am required to create a button which would attach an excel sheet. Once the excel sheet is attached, records for the Custom object should be created automatically based on the values in the excel sheet..

 

Thanks in advance..



  • August 23, 2011
  • Like
  • 0

I am having following error in apex class while reading a word document which is uploaded in Document object .

 

"BLOB is not a valid UTF-8 string".

 

Thanks,

Devendra Natani

Hi Friends,

 

I had created a field by specifying its help text. Then I tried to display it in VF but wat happened was the bubble is getting displayed. When i tried to hover over the bubble, the help text is not getting displayed.. But its working in standard page. I tried to display the field using both <apex:pageblocksection> & <apex:pageblocksectionitem>....Help reqd immediately....

 

 

Thanks in advance....

  • April 06, 2011
  • Like
  • 0

From the documentation it looks like a component can only take a custom controller or extension.

 

We are using OrchestraCMS so we need to use their custom controller for the page. But I want to create a component that will fit in the page that includes a contact form that will submit to leads. Pretty straight forward. I don't need to do any addtional processing to the fields aside from some js stuff, so I think the standard leads controller would suffice.

 

The question is can I use the standard leads controller or do I have to create my own custom controller?

 

thanks.

  • February 28, 2011
  • Like
  • 0

Hi All,

           I currently pass a variable value in my url when redirecting from VF Page 1 to VF Page 2. And i am performing some functionalities with that value. I wanted to know whether can we hide the values passed in the url similiar to what we can do in java???

 

My url is like dis :

www.google.com?id=xxxx&abc=yyyyy

 

I wanted to have dat abc value in the url but the visibility of my url should be like this:

www. google.com?id=xxx

 

Help needed in this...

 

 

 

  • February 26, 2011
  • Like
  • 0

Hi all,

 

I created one custom page after saving the record its automatically routing to custom view page but i am unable to getting values in that custom view page.How to get output values give sample coding for me.

 

thanks,

krish

Hi,

We have an application which monitors whether the user has edited something in the Leads detail page and pops up an HTML window with some data.

Because in SalesForce it is not possible to override the save button we have hacked that shortcoming by creating a Visual Force page which has a bit of JavaScript which can popup our HTML window based on whether our controller says that the Lead in question has been modified. So basically the user edits a lead hits save and we popup our window.

 

Now in our HTML window which pops up the user may change a value of the Lead he has just edited. To reflect that in the view we refresh the page with JavaScript  like this:

window.parent.location = "{!the parent url which the controller knows}"

 

Now the problem is when the detail view is seen in the salesforce console. In the console window.parent in our visualforce page gives us the iframe but because of cross-domain security we are not able to set the location property. We can do so on the parent like window.parent.parent.location = "{!the parent url which the controller knows}" but this is not what we want as this refreshes the whole console window and is lossing state.

 

We tried something differently I though if we put a button which does a post back on our Visual Force page and we hide the button but click it with JavaScript it will do a postback and it will refresh the iframe. That did not work. It only refreshed our Visual Force page.

Any help on how can we achieve our goals will be appreciated.

 

To reiterate the problems we are trying to solve:

   1. How can we popup something after the user has edited a record and then refresh the current page. => we partially solved that by creating a Visual Force page which does it and refreshes the page. This brought us to another problem in Console:

      1.1. How can we refresh just the iframe from a Visual Force page embedded in the layout of the Leads layout?

 

Any help on how to resolve either 1 or 1.1 will be appreciated.

 

Thanks,

Kos

  • January 26, 2011
  • Like
  • 0

Hi,

 

I want to set grandtotal value to input text using apex controller.

VF code is:

<apex:inputText value="{!gtotal}" id="gtotal"/> 
Controller code is like

 gtotal=gtotal- dto.price;

 

Here gtotal value is changed in controller  but not reflecting in VF page.

Please assist.

 

Thanks

Sonali 

 

I would like to learn webservice API.

 

What are the resources and order in which i have to pursue?

 

Appreciate your response.

Hi

I created a page : HelloWorld

code:

 

<apex:page showHeader="false" title="MyTitle">
  <h1>Hello World</h1>
</apex:page>

 

But when I opened this page in the browser with the url: https://c.ap1.visual.force.com/apex/HelloWorld

The title not displayed! 

Can anyone please assist me to display the title.

 

Thx in adv,

VNath


This should be super-simple, I'm just not seeing how to fix this.  I'd like to output HTML (a simple <br>) IF a certain condition is made.  Here is a snippet of my code:

 

<apex:outputField value="{!facility.Facility_Address_1__c}" />
{! IF(facility.Facility_Address_2__c!='','<br/>','NOPE')}
<apex:outputField value="{!facility.Facility_Address_2__c}" />

 

Basically, just want to output the first line of the address, if there is a second line to the address, add a new line break, then output the second line of the address.  Instead of a new line break, all I get is straight text, "<br/>" is stuck between the two address lines.

I also tried using br() and HTMLENCODE to no avail...even tried moving the text concatenation to the controller...I'm so lost...

  • January 06, 2011
  • Like
  • 0

HI FRIENDS,

 

     i have one requirement ,that is

 

 Scenario:  I have VF page,on that i have two buttons  RIGHT,LEFT. and  Datatable having two columns like

 

                                    [ RIGHT],[ LEFT]   

 

                                        CHECKBOX                NAME

                                                 []                           AccountName

 

after checcked the checkbox,if u click right  NAME value moved to right,i u click LEFT,then Name moved to left

 

can u any body help me

 

ThanX

Hi

 

I have created a Visualforce email template and sending that mail template through a trigger.

I have loaded all the images that I am using in my template as the static resource and accessing it like

 

<apex:image url="{!URLFOR($Resource.Zipfolder, 'folder/image1.jpg')}" width="25" height="100" />

In the preview of the template, I am able to see the images. And the cache control for the static resource is public.

Even though I am not able to see Image in the mail delivered to the recipient.

 

needed help on this.

  • January 06, 2011
  • Like
  • 0