The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
38 views

show how to display date in visualforce page without using output text?

I am trying to display only the day from a date in visualforce page but i can't use output text ,please help me to achieve the task.
2
votes
1answer
61 views

How to format code in MavensMate?

Does anyone how to re-format code in MavensMate? If a plugin going hand in hand with MM exists, that'd be great as well.
0
votes
3answers
48 views

Date format issue

I have a visualforce calendar page which displays my date in correct Uk format (I am using the date function format()) with my Timezone as : (GMT+01:00) British Summer Time (Europe/London) , The ...
2
votes
2answers
55 views

Workaround for Possible Datetime.format() Framework Bug

I am generating a set of date-based keys by looping over a start date and adding successive months to the initial Datetime object. I seem to have run into a bug in the format() method of the Datetime ...
0
votes
2answers
51 views

Is it possible to exclude fields from inline editing?

With visualforce, I'm using <apex:inlineEditSupport /> inside e.g. <apex:pageBlockTable> quite often. It makes all outputFields editable. Fine. Now, is there a way to exclude some fields ...
3
votes
1answer
55 views

Formatting not working while writing the response to DOM through JS Remoting

I tried to make a callout to SAP webservice through Javascript Remoting and writing the response to the visualforce page DOM using the same javascript. Now, i have an issue that the amount field which ...
0
votes
1answer
20 views

Get rid of default formatting for outputText

I am trying to print out a sum of 2 Integer variables using outputText, however it appears with a different format than normal text. How can I get rid of this formatting? <apex:outputText ...
1
vote
1answer
27 views

Format custom textarea field for custom object

I have a custom object that has a custom field called Notes. The field has the Text Area datatype but when I use it in an outputText as such: <apex:outputText ...
3
votes
1answer
326 views

Example of using String.format() with a number / does this function even work?

Per the docs format(String, List<String>) Treat the current string as a pattern that should be used for substitution in the same manner as apex:outputText. Which would lead me to ...
1
vote
1answer
94 views

How to convert number to time format (hh:mm:ss) in report?

I have a simple report and I would like to know how can I convert a number column into time format (hh:mm:ss)? I have a column (number) that is calculated in mins and I would like to show as time ...
1
vote
0answers
462 views

How to convert a number into a formatted string?

Note: there is an extensive discussion on converting a string into a decimal. This question asks how to convert a number into a formatted string. Given a decimal variable, how can I convert that ...
6
votes
1answer
220 views

outputField, long textarea field and unwanted spaces

I am having trouble with apex:outputField and a long textarea field. Salesforce appears to be inserting extra spaces on lines after BR tags after the page is rerendered following an actionFunction. ...
1
vote
0answers
30 views

Incorrect email textbox layout format

When sending an email from within a case (or other object records) in Salesforce, after accidentally pressing a specific key combination, I am now unable to use the full text box pane, instead I am ...
1
vote
1answer
46 views

Displaying more than 2 decimals for currency field in Report

I have a one currency field in an object, and I have kept 5 decimal places to that currency field. while showing the same field in a report it is showing only 2 decimal places. How can I change the ...
2
votes
2answers
138 views

Control custom field formatting on layout page

I've few custom fields on Account object, which user will drag on to the Account Layout page by customizing it. I'd like to control the formatting of these fields on the layout. For example one of ...
7
votes
1answer
300 views

How to use HTTPGet variable in URL (ExactTarget)?

Been trying to figure out a way to pass in the variable into a HTTPGet function for long time now. How to do it? Here's what I have so far, but it doesn't return anything. <p id="date" ...
1
vote
1answer
154 views

Is there any way of using apex:actionRegion without ruining my design?

I'm trying to use rerender on a form. Quite simple in fact, besides the problem I've been unable to solve. Whenever I use apex:actionRegion, my form structure is ruined (for example, the fields ...
4
votes
2answers
3k views

How is a DateTime object formatted into a String suitable for a String based SOQL query?

In order to write a where clause against a datetime field, you need to format your dateTime object into the following format: WHERE SystemModstamp > 2005-10-08T01:02:03Z How do you correctly ...
0
votes
1answer
540 views

How to format a currency or decimal value without rounding?

We have a strange requirement where in we have to display a "Currency" field without decimals and without rounding off..i.e., we have to ignore decimals (eventhough decimal part is greater than .5) ...
1
vote
1answer
1k views

Date comparison issue

I am implementing date functionality where i want to get records date within last 4th calender quarter.How can i achieve this in SOQL? I have tried with date in LAST_4_QUARTERS, but am getting ...
7
votes
2answers
4k views

Visualforce Date formatting

I need this date format in a visualforce page: "December 14, 2013". I can't seem to find the format options for visualforce. I read that it's the same as the java messageformat class options, but I ...
2
votes
0answers
66 views

How do I avoid losing text and formatting when generating a document using conga composer?

I use conga composer to generate agreements. However, some of the formatting is lost in the process of generating the agreement from the template. There doesn't seem to be a pattern to the lost ...
1
vote
1answer
141 views

Formatting Chatter FeedItem (With Html?)

Is there any way to format a Chatter FeedItem. With html, or with apex methods? I want to be able to create a feedItem that looks like this Sample Chatter Post
9
votes
2answers
3k views

Format decimal in <apex:outputText> respecting the user's Locale

I'd like to format a decimal number in an <apex:outputText> respecting the user's locale: Using {0,number,####.###} should show a German user 10,234 and an American user 10.234 The ...
2
votes
1answer
317 views

How to write a fixed width file in apex and download it as text file

I am trying a download file program which should be of the Fixed width Text file format. For example:- My object name is College and it has fields(length) namely ...
3
votes
1answer
2k views

Displaying date in visualforce force page in required format

I have a date fields which on displaying on VF page displays like 12/10/2012. But i want to display it like December 10, 2012. How can i do it? i am not getting the easy way.
1
vote
1answer
115 views

Is there a way to format dates inline in a VisualForce page?

In a .page file, I have the following: <li>Created on: {!proposal.CreatedDate}</li> which prints out something really ugly like Created on: Thu Aug 22 01:00:35 GMT 2013. Is there a way ...
1
vote
1answer
103 views

Determining number separator when inputHidden doesn't format a currency number

If I return an object with a currency field, and I'm returning it from a controller. If I use an <apex:inputField>, the number is correctly formatted as 1,234.56. However, if I use an ...
3
votes
2answers
1k views

Apex:outputText format currency without object value for apex:param value

I have a visualforce table where I'm creating a discount calculator. Basically user inputs a discount percentage and the table on the visualforce updates automatically to show you the updated price ...
5
votes
2answers
805 views

Tab (\t character) Substitute In Visualforce

I am having some difficulty trying to show a hierarchy within a PDF without some of the basic HTML formatting constructs. Below is an example of me trying to format the content using span tags. I ...
0
votes
1answer
273 views

Datetime - problem with hour formatting

Datetime t = Datetime.now(); System.debug(t); System.debug(t.format('HH hh kk KK')); Result: 13:37:57:233 USER_DEBUG [16]|DEBUG|2013-05-17 11:37:58 13:37:57:234 USER_DEBUG ...
4
votes
1answer
990 views

Number format string being displayed on Visualforce page

Our application Ring My Bell displays a message using a public double property in the controller which is displayed in a message using <apex:outputText>: <apex:outputText value="{!person} ...
3
votes
2answers
1k views

Radio button required=“true” not displaying an error message when no selection

I've created a Visualforce page to receive input form a user. I've converted a Picklist into a radio button and set it to required. For whatever reason, the red bar that represents a mandatory field ...
4
votes
1answer
461 views

Removing dot (thousands separator) in a numeric apex:inputField

I have one field "MyYear__c" on my custmon object. This field has following details: Data Type: Number Length: 4 Decimal Places: 0 At the visualforce page it looks like this: <apex:inputField ...
4
votes
2answers
845 views

Visualforce to Excel: Prevent long number from being displayed in Scientific Notation

I have a Visual page which offers the capability of exporting a data table to Excel. There is a text field called Account number. Some account numbers are more than 12 digits long. When such numbers ...
5
votes
1answer
1k views

decimal places and text() formula

When I use the text formula, salesforce doesn't respect my decimal place formatting. For example, Field A has 4 places to the right of the decimal. It shows up nicely on the page as 0.4000 If I'm ...
1
vote
1answer
528 views

Adding percent sign (%) to formula field in quote line items

If I add the Standard field Discount to quote line items than the discount will show up right justified with the percent sign to the right of the value. If I create a Custom field of type ...