• vikramkk
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 24
    Questions
  • 16
    Replies

 

I am displaying a list of values in one of the columns in a page block table from a list(returned from a query). But in the other two columns I want to use input text tags to enter values by users. The condiiton is I want to insert those recors in the list to the database. In other words

 

Name            Address                                                         Email

Jon                input text (user enter some value)            input text (user enter some value)

Glenn            input text (user enter some value)            input text (user enter some value)

Tom               input text (user enter some value)             input text (user enter some value)

 

I want to insert record with values Name as Jon and Address and Email values entered by user. Similarly ecord with values Name as Glenn and Address and Email values entered by user and ecord with values Name as Tom and Address and Email values entered by user. (The names Jon, Glenn, Tom are retuned from a query and stored in a list and I am assigning page block table value attribute to that list. ) How can I insert those records with some values input by user( columns Address and Email)  and some (Name column-returned from a query)

 

Many thanx

Vikram

 

 

http://boards.developerforce.com/t5/Visualforce-Development/Datepicker-in-Visualforce-page/m-p/425965#M49008

 

Regarding this post

 

I tried option 2 with <apex:inputtext> inside <apex:column> in pageblocktable. But I didn't calendar popup. Do I need to make any change to make it work?

 

Thanks

Vikram

In a visualforce page, I want to display a section (say with id - payment) only if a picklist value is selected in the following code. The section should not be displayed on load of page. it is to be displayed only if a particular picklist value is selected.

 

<apex:pageBlockSectionItem id="ReturnTypeItem">
                    <apex:outputLabel for="ReturnType">Return Type</apex:outputLabel>
                     <apex:inputField required="true" id="ReturnType" value="{!Case.Return_Type__c}"  />
</apex:pageBlockSectionItem>
Please help me on this. Many thanks.

Hi

 

I am trying to call a web service on click of a button from VF page. and display the results using a page block table and results are of a wrapper class type. I am posting the debug log below. If you can find where I am getting wrong that would be a great help. Many thanx.

 

24.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO 16:26:44.012 (12799000)|EXECUTION_STARTED 16:26:44.012 (12834000)|CODE_UNIT_STARTED|[EXTERNAL]|066Q00000000sfm|VF: /apex/returnlistpage 16:26:44.012 (12997000)|VF_DESERIALIZE_VIEWSTATE_BEGIN|066Q00000000sfm 16:26:44.017 (17359000)|VF_DESERIALIZE_VIEWSTATE_END 16:26:44.022 (22642000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(myResults) 16:26:44.022 (22671000)|SYSTEM_MODE_ENTER|true 16:26:44.022 (22691000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|myResults 16:26:44.022 (22727000)|METHOD_ENTRY|[1]|01pQ0000000A0de|ReturnListController.ReturnListController() 16:26:44.022 (22854000)|METHOD_EXIT|[1]|ReturnListController 16:26:44.022 (22868000)|CODE_UNIT_FINISHED|myResults 16:26:44.022 (22875000)|CODE_UNIT_FINISHED|ReturnListController get(myResults) 16:26:44.025 (25104000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPONumber) 16:26:44.025 (25116000)|SYSTEM_MODE_ENTER|true 16:26:44.025 (25124000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPONumber 16:26:44.025 (25552000)|CODE_UNIT_FINISHED|searchTextPONumber 16:26:44.025 (25560000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPONumber) 16:26:44.025 (25618000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextOrderNumber) 16:26:44.025 (25627000)|SYSTEM_MODE_ENTER|true 16:26:44.025 (25634000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextOrderNumber 16:26:44.025 (25674000)|CODE_UNIT_FINISHED|searchTextOrderNumber 16:26:44.025 (25681000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextOrderNumber) 16:26:44.025 (25732000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPartNumber) 16:26:44.025 (25740000)|SYSTEM_MODE_ENTER|true 16:26:44.025 (25747000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPartNumber 16:26:44.025 (25784000)|CODE_UNIT_FINISHED|searchTextPartNumber 16:26:44.025 (25792000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPartNumber) 16:26:44.026 (26018000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26029000)|SYSTEM_MODE_ENTER|true 16:26:44.026 (26042000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26077000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26087000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26118000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26125000)|SYSTEM_MODE_ENTER|true 16:26:44.026 (26134000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26153000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26159000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26187000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPartNumber,) 16:26:44.026 (26194000)|SYSTEM_MODE_ENTER|true 16:26:44.026 (26203000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPartNumber,) 16:26:44.026 (26220000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPartNumber,) 16:26:44.026 (26226000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPartNumber,) 16:26:44.028 (28503000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController invoke(Credit) 16:26:44.028 (28573000)|METHOD_ENTRY|[79]|01pQ0000000A0de|ReturnListController.searchCreditInquiry() 16:26:44.030 (30350000)|METHOD_ENTRY|[118]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPartNumber() 16:26:44.030 (30376000)|METHOD_EXIT|[118]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPartNumber() 16:26:44.030 (30386000)|METHOD_ENTRY|[119]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPONumber() 16:26:44.030 (30407000)|METHOD_EXIT|[119]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPONumber() 16:26:44.030 (30416000)|METHOD_ENTRY|[121]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextOrderNumber() 16:26:44.030 (30434000)|METHOD_EXIT|[121]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextOrderNumber() 16:26:44.030 (30955000)|CONSTRUCTOR_ENTRY|[128]|01pQ0000000A0EK|<init>() 16:26:44.031 (31032000)|SYSTEM_METHOD_ENTRY|[12]|LIST.add(ANY) 16:26:44.032 (32705000)|SYSTEM_METHOD_EXIT|[12]|LIST.add(ANY) 16:26:44.032 (32727000)|SYSTEM_METHOD_ENTRY|[12]|LIST.add(ANY) 16:26:44.032 (32736000)|SYSTEM_METHOD_EXIT|[12]|LIST.add(ANY) 16:26:44.032 (32751000)|CONSTRUCTOR_EXIT|[128]|01pQ0000000A0EK|<init>() 16:26:44.032 (32804000)|SYSTEM_METHOD_ENTRY|[132]|system.Test.isRunningTest() 16:26:44.032 (32852000)|SYSTEM_METHOD_EXIT|[132]|system.Test.isRunningTest() 16:26:44.032 (32887000)|METHOD_ENTRY|[133]|01pQ0000000A0EK|wsdevSensusCom.InquiriesSoap.SFDC_RMA(String, String, String, String, String) 16:26:44.033 (33335000)|CONSTRUCTOR_ENTRY|[36]|01pQ0000000A0EK|<init>()

16:26:44.033 (33394000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33420000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33435000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33446000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33459000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33467000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33478000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33485000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33496000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33503000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33514000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33521000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY)

------------------------------------------------------------------------

16:26:44.034 (34211000)|CONSTRUCTOR_EXIT|[36]|01pQ0000000A0EK|<init>() 16:26:44.034 (34458000)|SYSTEM_METHOD_ENTRY|[44]|MAP.put(ANY, ANY) 16:26:44.034 (34489000)|SYSTEM_METHOD_EXIT|[44]|MAP.put(ANY, ANY) 16:26:44.034 (34508000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34528000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34541000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34549000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34557000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34563000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34574000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34580000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34589000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34595000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34605000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34611000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34621000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34627000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34646000)|SYSTEM_METHOD_ENTRY|[45]|WebServiceCallout.invoke(APEX_OBJECT, APEX_OBJECT, MAP, LIST) 16:26:44.039 (39943000)|CALLOUT_REQUEST|[45]|SFDC_RMA_element:[Invoice=null, Invoice_type_info=(Invoice, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), Order=197533, Order_type_info=(Order, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), PO=, PO_type_info=(PO, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), apex_schema_type_info=(http://wsdev.sensus.com/, true, false), field_order_type_info=(strCust, strPart, PO, Invoice, Order), strCust=null, strCust_type_info=(strCust, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), strPart=, strPart_type_info=(strPart, http://www.w3.org/2001/XMLSchema, string, 0, 1, false)]::SFDC_STACK_DEPTH=1 SOAPAction="http://wsdev.sensus.com/SFDC_RMA" User-Agent=SFDC-Callout/24.0 Accept=text/xml Content-Type=text/xml; charset=UTF-8 16:26:47.009 (3009256000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009307000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009323000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009331000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009343000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009350000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009362000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009369000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009380000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009387000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009398000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009406000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009423000)|SYSTEM_METHOD_ENTRY|[156]|LIST.add(ANY) 16:26:47.009 (3009444000)|SYSTEM_METHOD_EXIT|[156]|LIST.add(ANY) 16:26:47.009 (3009460000)|SYSTEM_METHOD_ENTRY|[156]|LIST.add(ANY) 16:26:47.009 (3009470000)|SYSTEM_METHOD_EXIT|[156]|LIST.add(ANY) 16:26:47.009 (3009480000)|SYSTEM_METHOD_ENTRY|[156]|LIST.add(ANY) 16:26:47.009 (3009488000)|SYSTEM_METHOD_EXIT|[156]|LIST.add(ANY) 16:26:47.009 (3009503000)|SYSTEM_METHOD_ENTRY|[157]|LIST.add(ANY) 16:26:47.009 (3009522000)|SYSTEM_METHOD_EXIT|[157]|LIST.add(ANY)

---------------------------------------------------------------

16:26:47.011 (3011610000)|CALLOUT_RESPONSE|[45]| 16:26:47.011 (3011685000)|SYSTEM_METHOD_EXIT|[45]|WebServiceCallout.invoke(APEX_OBJECT, APEX_OBJECT, MAP, LIST) 16:26:47.011 (3011706000)|SYSTEM_METHOD_ENTRY|[57]|MAP.get(ANY) 16:26:47.011 (3011736000)|SYSTEM_METHOD_EXIT|[57]|MAP.get(ANY) 16:26:47.011 (3011759000)|METHOD_EXIT|[133]|01pQ0000000A0EK|wsdevSensusCom.InquiriesSoap.SFDC_RMA(String, String, String, String, String) 16:26:47.011 (3011768000)|METHOD_EXIT|[79]|01pQ0000000A0de|ReturnListController.searchCreditInquiry() 16:26:47.011 (3011785000)|METHOD_ENTRY|[80]|01pQ0000000A0de|ReturnListController.ShowResults(wsdevSensusCom.ArrayOfCreditInquiry) 16:26:47.011 (3011837000)|SYSTEM_METHOD_ENTRY|[105]|LIST.iterator() 16:26:47.015 (3015973000)|SYSTEM_METHOD_EXIT|[105]|LIST.iterator() 16:26:47.016 (3016218000)|SYSTEM_METHOD_ENTRY|[105]|system.ListIterator.hasNext() 16:26:47.016 (3016235000)|SYSTEM_METHOD_EXIT|[105]|system.ListIterator.hasNext() 16:26:47.016 (3016244000)|SYSTEM_METHOD_ENTRY|[105]|system.ListIterator.next() 16:26:47.016 (3016252000)|SYSTEM_METHOD_EXIT|[105]|system.ListIterator.next() 16:26:47.016 (3016264000)|SYSTEM_METHOD_ENTRY|[107]|LIST.iterator() 16:26:47.016 (3016447000)|SYSTEM_METHOD_EXIT|[107]|LIST.iterator() 16:26:47.017 (3017946000)|SYSTEM_METHOD_ENTRY|[107]|system.ListIterator.hasNext() 16:26:47.017 (3017960000)|SYSTEM_METHOD_EXIT|[107]|system.ListIterator.hasNext() 16:26:47.017 (3017970000)|SYSTEM_METHOD_ENTRY|[105]|system.ListIterator.hasNext() 16:26:47.017 (3017978000)|SYSTEM_METHOD_EXIT|[105]|system.ListIterator.hasNext() 16:26:47.017 (3017991000)|METHOD_EXIT|[80]|01pQ0000000A0de|ReturnListController.ShowResults(wsdevSensusCom.ArrayOfCreditInquiry) 16:26:47.018 (3018009000)|METHOD_ENTRY|[80]|01pQ0000000A0de|ReturnListController.__sfdc_myResults(LIST<RMAItemWrapper>) 16:26:47.018 (3018024000)|METHOD_EXIT|[80]|01pQ0000000A0de|ReturnListController.__sfdc_myResults(LIST<RMAItemWrapper>) 16:26:47.018 (3018058000)|CODE_UNIT_FINISHED|ReturnListController invoke(Credit) 16:26:47.019 (3019048000)|VF_APEX_CALL|j_id4|{!Credit}|PageReference: none 16:26:47.023 (3023940000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(myResults) 16:26:47.023 (3023956000)|SYSTEM_MODE_ENTER|true 16:26:47.023 (3023966000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|myResults 16:26:47.023 (3023977000)|CODE_UNIT_FINISHED|myResults 16:26:47.023 (3023984000)|CODE_UNIT_FINISHED|ReturnListController get(myResults) 16:26:47.044 (3044820000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPONumber) 16:26:47.044 (3044839000)|SYSTEM_MODE_ENTER|true 16:26:47.044 (3044848000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPONumber 16:26:47.044 (3044911000)|CODE_UNIT_FINISHED|searchTextPONumber 16:26:47.044 (3044920000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPONumber) 16:26:47.045 (3045102000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextOrderNumber) 16:26:47.045 (3045113000)|SYSTEM_MODE_ENTER|true 16:26:47.045 (3045120000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextOrderNumber 16:26:47.045 (3045151000)|CODE_UNIT_FINISHED|searchTextOrderNumber 16:26:47.045 (3045158000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextOrderNumber) 16:26:47.045 (3045317000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPartNumber) 16:26:47.045 (3045327000)|SYSTEM_MODE_ENTER|true 16:26:47.045 (3045334000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPartNumber 16:26:47.045 (3045365000)|CODE_UNIT_FINISHED|searchTextPartNumber 16:26:47.045 (3045372000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPartNumber) 16:26:47.049 (3049325000)|VF_SERIALIZE_VIEWSTATE_BEGIN|066Q00000000sfm 16:26:47.052 (3052173000)|VF_SERIALIZE_VIEWSTATE_END 16:26:47.380 (3055358000)|CUMULATIVE_LIMIT_USAGE 16:26:47.380|LIMIT_USAGE_FOR_NS|(default)|   Number of SOQL queries: 0 out of 100   Number of query rows: 0 out of 50000   Number of SOSL queries: 0 out of 20   Number of DML statements: 0 out of 150   Number of DML rows: 0 out of 10000   Number of script statements: 88 out of 200000   Maximum heap size: 0 out of 6000000   Number of callouts: 1 out of 10   Number of Email Invocations: 0 out of 10   Number of fields describes: 0 out of 100   Number of record type describes: 0 out of 100   Number of child relationships describes: 0 out of 100   Number of picklist describes: 0 out of 100   Number of future calls: 0 out of 10

 

16:26:47.380|CUMULATIVE_LIMIT_USAGE_END

 

16:26:47.055 (3055386000)|CODE_UNIT_FINISHED|VF: /apex/returnlistpage 16:26:47.055 (3055392000)|EXECUTION_FINISHED

 



I have a page which has case standard controller and extension class. I need to send the caseid from this page to a second page which has a different controller. How can I send that in an url. I have a custom button on first page and by clicking that second page should be opened with case id being passed as part of url. Please help on this.

 

Many thanx

Hi

 

I want to know whether the parent child relationship works the same way in case of an opportunity and a task as it works in case of an account and a contact. Because in the following query when I query fields of a task in sub query, nothing is  returned.

 

optylist = [select name,keycode__c,taskid__c,(select subject,status from Tasks) from Opportunity where name='Test'];

 

Please correct me where I am going wrong.

Hi

 

In a custom visual force page, there is a pageblock . I want to create a command button or link by clicking which the page block should expand and on clicking again it should collapse. Basically it should expand/collpase on alternate clicks and it should be in collpased state at the time of loading the page. I think it can be achieved using java script for onlick attribute of command link or button. Can some provide sample code to achieve this? (I know we can use collpasible attribute of pageblock  but I dont want to use it)

 

Thanks

 

Hi

 

 I want to create a custom button in opportunity layout page, such that when I click the button, a section in opportunity should become hidden. When I click again it should appear again. Basically it should hide/unhide on successive clicks

Hi

 

I created a validation rule which uses $UserRole.Name in its condition. But there are too many roles that I have to use in my validation rule.I have a public group which contains various roles. I want to use some thing like "$Group.Name" instead of  "$UserRole.Name".  Is that possible?

My validation rule is as folows.

 

AND(  ISBLANK( Date_of_Birth__c ) ,

OR(
$UserRole.Name = 'Operations',
$UserRole.Name = 'Sales Manager',
$UserRole.Name = 'Sales Agent',
$UserRole.Name = 'Outbound Agent',
$UserRole.Name = 'Outbound Manager',
$UserRole.Name = 'Support Manager',
$UserRole.Name = 'BlueDirect Support Rep',
$UserRole.Name = 'Agent',
$UserRole.Name = 'Manager',
$UserRole.Name = 'TX Agent',
$UserRole.Name = 'TX Manager')
)

 

Please let me know if there is any other to achieve this.

Hi

 

I created a custom button on opportunity standard page. When the button is clicked a custom visual force page is opened  based on some criteria. The content source for this is onclick javascript. Then, on clicking the button the java script code associated with button should evaluate a criteria-  which is -

 

the custom visual force page should be opened only when address field in account related to current opportunity is not empty otherwise a page with error message should be displayed."

 

Please let me know how this can be achieved.

Hi

 

 How  target="_blank" used in combination with either outputlink or commandlink can be configured to open in a new window or tab? when I use IE browser  with default tab settings as " let  browser decide how popup should be open as a tab or window" the link is always getting opened in new tab but I want it to be opened in new window. For this I don't want to change browser settings. Is this something possible?

 

Thanks

Hi

 

I want a pageblock section to be collapsed by default at the time of page loading. I tried using solutions posted on our discussion board but none of them are working correctly. Please post the correct approach.

 

thanks

Hi

 

I have an output link when clicked should open in new window not the tab. I tried using target=blank for IE browser but the link is getting opened in new tab but not new window.  Is there any way that I can open it in new window as popup instead of tab

 

I have a custom page which contain some input fields for search criteria. After user enters search criteria, a list of leads are displayed which matches that criteria. If the user clicks one of those leads in list it will take him to a lead record in detail page mode i.e lead standard page. But I want to go back to search page with all the search criteria to be retained. How can I achieve this? If by clicking the list if  I go to a custom page I can create back link or back button on that custom page which can take me to that page with all the search criteria retained with the help of a custom controller. How can I achieve the same functionality with standard lead page.

 

Thanks in advance. 

 

If there is a active and valid flow by name myflow--the URl for the flow will be salesforceinstance/flow/myflow. Suppose if someone enters the wrong url i.e enter a flow name which is not present,then there it will be return a page will a message in it saying the particular flow does not exist or it does not have active version. Is there a way that we can customize that error displaying page and the look and feel of that message? Let me know if anyone come across such scenario.

 

Many thanks

 

 

Hi all

 

There is a field of type - picklist. It contains four picklist values. I want to create a horizontal bar or horizontal thick line divided in to four different colors(this can be created in separate section) i.e each picklist value correspond to one color in the bar. When one of those values is selected for that field and after the record is saved, corresponding color in the bar is highlighted.

 

How this can be achieved? How can I create a horizontal bar like that - using visual force or is there any other means?

 

(horizontal bar is what we see when coompleting a form -  bar which shows some percentage of bar in different color which is filled and other in different color which is yet to be filled)

 

hope u understand

Hi all

 

There is a field of type - picklist. It contains four picklist values. I want to create a horizontal bar or horizontal thick line divided in to four different colors(this can be created in separate section) i.e each picklist value correspond to one color in the bar. When one of those values is selected for that field and after the record is saved, corresponding color in the bar is highlighted.

 

How this can be achieved? How can I create a horizontal bar like that - using visual force or is there any other means?

 

(horizontal bar is what we see when coompleting a form -  bar which shows some percentage of bar in different color which is filled and other in different color which is yet to be filled)

 

hope u understand

Hi

 

I am using following formula for a custom field. But it is exceeding character limit. Any help would be greatly appreciated.

 

IF(

AND(

 CO_of_Inverters_2__c  > 0 , NOT( ISBLANK( TEXT( CO_Inverter_Model_2__c  ) ) ) ,NOT( ISBLANK( TEXT( CO_Inverter_Model_3__c  ) ) )

),  

TEXT( CO_of_Inverters__c  ) &" "& TEXT(  CO_Inverter_Model__c  ) &" & " &TEXT( CO_of_Inverters_2__c ) &" "& TEXT( CO_Inverter_Model_2__c )&" & " &TEXT( CO_of_Inverters_3__c ) &" "& TEXT( CO_Inverter_Model_3__c ) &" inverters" ,  

IF(

AND(

 CO_of_Inverters_2__c  > 0 , NOT( ISBLANK( TEXT( CO_Inverter_Model_2__c  ) ) )

),

TEXT( CO_of_Inverters__c  ) &" "& TEXT(  CO_Inverter_Model__c  ) &" & " &TEXT( CO_of_Inverters_2__c ) &" "& TEXT( CO_Inverter_Model_2__c ) &" inverters",

TEXT( CO_of_Inverters__c  )&" "& TEXT( CO_Inverter_Model__c ) &" inverters"

)

)

Hi all

 

On the opportunity page, if a button is clicked a wizard pops up. It should contain some opportunity fields and the values for those fields are entered and they are saved using a save button on wizard. Then the values should be saved and displayed back in the opportunity page layout. How can I achieve this? If any body worked on such scenario and if they post sample code that would be great. Thanks!!!

 

 

 

Hi all

 

In Opportunity object  there a close to 500 custom fields. i want to move half of those fields in to a newly created custom object. I think it canbe done by metadata API.

 

Can anyone tell me what steps I have to follow to achieve this.

 

I am displaying a list of values in one of the columns in a page block table from a list(returned from a query). But in the other two columns I want to use input text tags to enter values by users. The condiiton is I want to insert those recors in the list to the database. In other words

 

Name            Address                                                         Email

Jon                input text (user enter some value)            input text (user enter some value)

Glenn            input text (user enter some value)            input text (user enter some value)

Tom               input text (user enter some value)             input text (user enter some value)

 

I want to insert record with values Name as Jon and Address and Email values entered by user. Similarly ecord with values Name as Glenn and Address and Email values entered by user and ecord with values Name as Tom and Address and Email values entered by user. (The names Jon, Glenn, Tom are retuned from a query and stored in a list and I am assigning page block table value attribute to that list. ) How can I insert those records with some values input by user( columns Address and Email)  and some (Name column-returned from a query)

 

Many thanx

Vikram

 

 

In a visualforce page, I want to display a section (say with id - payment) only if a picklist value is selected in the following code. The section should not be displayed on load of page. it is to be displayed only if a particular picklist value is selected.

 

<apex:pageBlockSectionItem id="ReturnTypeItem">
                    <apex:outputLabel for="ReturnType">Return Type</apex:outputLabel>
                     <apex:inputField required="true" id="ReturnType" value="{!Case.Return_Type__c}"  />
</apex:pageBlockSectionItem>
Please help me on this. Many thanks.

Hi

 

I am trying to call a web service on click of a button from VF page. and display the results using a page block table and results are of a wrapper class type. I am posting the debug log below. If you can find where I am getting wrong that would be a great help. Many thanx.

 

24.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO 16:26:44.012 (12799000)|EXECUTION_STARTED 16:26:44.012 (12834000)|CODE_UNIT_STARTED|[EXTERNAL]|066Q00000000sfm|VF: /apex/returnlistpage 16:26:44.012 (12997000)|VF_DESERIALIZE_VIEWSTATE_BEGIN|066Q00000000sfm 16:26:44.017 (17359000)|VF_DESERIALIZE_VIEWSTATE_END 16:26:44.022 (22642000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(myResults) 16:26:44.022 (22671000)|SYSTEM_MODE_ENTER|true 16:26:44.022 (22691000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|myResults 16:26:44.022 (22727000)|METHOD_ENTRY|[1]|01pQ0000000A0de|ReturnListController.ReturnListController() 16:26:44.022 (22854000)|METHOD_EXIT|[1]|ReturnListController 16:26:44.022 (22868000)|CODE_UNIT_FINISHED|myResults 16:26:44.022 (22875000)|CODE_UNIT_FINISHED|ReturnListController get(myResults) 16:26:44.025 (25104000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPONumber) 16:26:44.025 (25116000)|SYSTEM_MODE_ENTER|true 16:26:44.025 (25124000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPONumber 16:26:44.025 (25552000)|CODE_UNIT_FINISHED|searchTextPONumber 16:26:44.025 (25560000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPONumber) 16:26:44.025 (25618000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextOrderNumber) 16:26:44.025 (25627000)|SYSTEM_MODE_ENTER|true 16:26:44.025 (25634000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextOrderNumber 16:26:44.025 (25674000)|CODE_UNIT_FINISHED|searchTextOrderNumber 16:26:44.025 (25681000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextOrderNumber) 16:26:44.025 (25732000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPartNumber) 16:26:44.025 (25740000)|SYSTEM_MODE_ENTER|true 16:26:44.025 (25747000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPartNumber 16:26:44.025 (25784000)|CODE_UNIT_FINISHED|searchTextPartNumber 16:26:44.025 (25792000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPartNumber) 16:26:44.026 (26018000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26029000)|SYSTEM_MODE_ENTER|true 16:26:44.026 (26042000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26077000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26087000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPONumber,) 16:26:44.026 (26118000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26125000)|SYSTEM_MODE_ENTER|true 16:26:44.026 (26134000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26153000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26159000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextOrderNumber,197533) 16:26:44.026 (26187000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPartNumber,) 16:26:44.026 (26194000)|SYSTEM_MODE_ENTER|true 16:26:44.026 (26203000)|CODE_UNIT_STARTED|[EXTERNAL]|ReturnListController set(searchTextPartNumber,) 16:26:44.026 (26220000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPartNumber,) 16:26:44.026 (26226000)|CODE_UNIT_FINISHED|ReturnListController set(searchTextPartNumber,) 16:26:44.028 (28503000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController invoke(Credit) 16:26:44.028 (28573000)|METHOD_ENTRY|[79]|01pQ0000000A0de|ReturnListController.searchCreditInquiry() 16:26:44.030 (30350000)|METHOD_ENTRY|[118]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPartNumber() 16:26:44.030 (30376000)|METHOD_EXIT|[118]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPartNumber() 16:26:44.030 (30386000)|METHOD_ENTRY|[119]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPONumber() 16:26:44.030 (30407000)|METHOD_EXIT|[119]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextPONumber() 16:26:44.030 (30416000)|METHOD_ENTRY|[121]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextOrderNumber() 16:26:44.030 (30434000)|METHOD_EXIT|[121]|01pQ0000000A0de|ReturnListController.__sfdc_searchTextOrderNumber() 16:26:44.030 (30955000)|CONSTRUCTOR_ENTRY|[128]|01pQ0000000A0EK|<init>() 16:26:44.031 (31032000)|SYSTEM_METHOD_ENTRY|[12]|LIST.add(ANY) 16:26:44.032 (32705000)|SYSTEM_METHOD_EXIT|[12]|LIST.add(ANY) 16:26:44.032 (32727000)|SYSTEM_METHOD_ENTRY|[12]|LIST.add(ANY) 16:26:44.032 (32736000)|SYSTEM_METHOD_EXIT|[12]|LIST.add(ANY) 16:26:44.032 (32751000)|CONSTRUCTOR_EXIT|[128]|01pQ0000000A0EK|<init>() 16:26:44.032 (32804000)|SYSTEM_METHOD_ENTRY|[132]|system.Test.isRunningTest() 16:26:44.032 (32852000)|SYSTEM_METHOD_EXIT|[132]|system.Test.isRunningTest() 16:26:44.032 (32887000)|METHOD_ENTRY|[133]|01pQ0000000A0EK|wsdevSensusCom.InquiriesSoap.SFDC_RMA(String, String, String, String, String) 16:26:44.033 (33335000)|CONSTRUCTOR_ENTRY|[36]|01pQ0000000A0EK|<init>()

16:26:44.033 (33394000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33420000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33435000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33446000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33459000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33467000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33478000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33485000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33496000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33503000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY) 16:26:44.033 (33514000)|SYSTEM_METHOD_ENTRY|[139]|LIST.add(ANY) 16:26:44.033 (33521000)|SYSTEM_METHOD_EXIT|[139]|LIST.add(ANY)

------------------------------------------------------------------------

16:26:44.034 (34211000)|CONSTRUCTOR_EXIT|[36]|01pQ0000000A0EK|<init>() 16:26:44.034 (34458000)|SYSTEM_METHOD_ENTRY|[44]|MAP.put(ANY, ANY) 16:26:44.034 (34489000)|SYSTEM_METHOD_EXIT|[44]|MAP.put(ANY, ANY) 16:26:44.034 (34508000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34528000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34541000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34549000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34557000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34563000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34574000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34580000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34589000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34595000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34605000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34611000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34621000)|SYSTEM_METHOD_ENTRY|[45]|LIST.add(ANY) 16:26:44.034 (34627000)|SYSTEM_METHOD_EXIT|[45]|LIST.add(ANY) 16:26:44.034 (34646000)|SYSTEM_METHOD_ENTRY|[45]|WebServiceCallout.invoke(APEX_OBJECT, APEX_OBJECT, MAP, LIST) 16:26:44.039 (39943000)|CALLOUT_REQUEST|[45]|SFDC_RMA_element:[Invoice=null, Invoice_type_info=(Invoice, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), Order=197533, Order_type_info=(Order, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), PO=, PO_type_info=(PO, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), apex_schema_type_info=(http://wsdev.sensus.com/, true, false), field_order_type_info=(strCust, strPart, PO, Invoice, Order), strCust=null, strCust_type_info=(strCust, http://www.w3.org/2001/XMLSchema, string, 0, 1, false), strPart=, strPart_type_info=(strPart, http://www.w3.org/2001/XMLSchema, string, 0, 1, false)]::SFDC_STACK_DEPTH=1 SOAPAction="http://wsdev.sensus.com/SFDC_RMA" User-Agent=SFDC-Callout/24.0 Accept=text/xml Content-Type=text/xml; charset=UTF-8 16:26:47.009 (3009256000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009307000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009323000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009331000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009343000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009350000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009362000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009369000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009380000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009387000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009398000)|SYSTEM_METHOD_ENTRY|[155]|LIST.add(ANY) 16:26:47.009 (3009406000)|SYSTEM_METHOD_EXIT|[155]|LIST.add(ANY) 16:26:47.009 (3009423000)|SYSTEM_METHOD_ENTRY|[156]|LIST.add(ANY) 16:26:47.009 (3009444000)|SYSTEM_METHOD_EXIT|[156]|LIST.add(ANY) 16:26:47.009 (3009460000)|SYSTEM_METHOD_ENTRY|[156]|LIST.add(ANY) 16:26:47.009 (3009470000)|SYSTEM_METHOD_EXIT|[156]|LIST.add(ANY) 16:26:47.009 (3009480000)|SYSTEM_METHOD_ENTRY|[156]|LIST.add(ANY) 16:26:47.009 (3009488000)|SYSTEM_METHOD_EXIT|[156]|LIST.add(ANY) 16:26:47.009 (3009503000)|SYSTEM_METHOD_ENTRY|[157]|LIST.add(ANY) 16:26:47.009 (3009522000)|SYSTEM_METHOD_EXIT|[157]|LIST.add(ANY)

---------------------------------------------------------------

16:26:47.011 (3011610000)|CALLOUT_RESPONSE|[45]| 16:26:47.011 (3011685000)|SYSTEM_METHOD_EXIT|[45]|WebServiceCallout.invoke(APEX_OBJECT, APEX_OBJECT, MAP, LIST) 16:26:47.011 (3011706000)|SYSTEM_METHOD_ENTRY|[57]|MAP.get(ANY) 16:26:47.011 (3011736000)|SYSTEM_METHOD_EXIT|[57]|MAP.get(ANY) 16:26:47.011 (3011759000)|METHOD_EXIT|[133]|01pQ0000000A0EK|wsdevSensusCom.InquiriesSoap.SFDC_RMA(String, String, String, String, String) 16:26:47.011 (3011768000)|METHOD_EXIT|[79]|01pQ0000000A0de|ReturnListController.searchCreditInquiry() 16:26:47.011 (3011785000)|METHOD_ENTRY|[80]|01pQ0000000A0de|ReturnListController.ShowResults(wsdevSensusCom.ArrayOfCreditInquiry) 16:26:47.011 (3011837000)|SYSTEM_METHOD_ENTRY|[105]|LIST.iterator() 16:26:47.015 (3015973000)|SYSTEM_METHOD_EXIT|[105]|LIST.iterator() 16:26:47.016 (3016218000)|SYSTEM_METHOD_ENTRY|[105]|system.ListIterator.hasNext() 16:26:47.016 (3016235000)|SYSTEM_METHOD_EXIT|[105]|system.ListIterator.hasNext() 16:26:47.016 (3016244000)|SYSTEM_METHOD_ENTRY|[105]|system.ListIterator.next() 16:26:47.016 (3016252000)|SYSTEM_METHOD_EXIT|[105]|system.ListIterator.next() 16:26:47.016 (3016264000)|SYSTEM_METHOD_ENTRY|[107]|LIST.iterator() 16:26:47.016 (3016447000)|SYSTEM_METHOD_EXIT|[107]|LIST.iterator() 16:26:47.017 (3017946000)|SYSTEM_METHOD_ENTRY|[107]|system.ListIterator.hasNext() 16:26:47.017 (3017960000)|SYSTEM_METHOD_EXIT|[107]|system.ListIterator.hasNext() 16:26:47.017 (3017970000)|SYSTEM_METHOD_ENTRY|[105]|system.ListIterator.hasNext() 16:26:47.017 (3017978000)|SYSTEM_METHOD_EXIT|[105]|system.ListIterator.hasNext() 16:26:47.017 (3017991000)|METHOD_EXIT|[80]|01pQ0000000A0de|ReturnListController.ShowResults(wsdevSensusCom.ArrayOfCreditInquiry) 16:26:47.018 (3018009000)|METHOD_ENTRY|[80]|01pQ0000000A0de|ReturnListController.__sfdc_myResults(LIST<RMAItemWrapper>) 16:26:47.018 (3018024000)|METHOD_EXIT|[80]|01pQ0000000A0de|ReturnListController.__sfdc_myResults(LIST<RMAItemWrapper>) 16:26:47.018 (3018058000)|CODE_UNIT_FINISHED|ReturnListController invoke(Credit) 16:26:47.019 (3019048000)|VF_APEX_CALL|j_id4|{!Credit}|PageReference: none 16:26:47.023 (3023940000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(myResults) 16:26:47.023 (3023956000)|SYSTEM_MODE_ENTER|true 16:26:47.023 (3023966000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|myResults 16:26:47.023 (3023977000)|CODE_UNIT_FINISHED|myResults 16:26:47.023 (3023984000)|CODE_UNIT_FINISHED|ReturnListController get(myResults) 16:26:47.044 (3044820000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPONumber) 16:26:47.044 (3044839000)|SYSTEM_MODE_ENTER|true 16:26:47.044 (3044848000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPONumber 16:26:47.044 (3044911000)|CODE_UNIT_FINISHED|searchTextPONumber 16:26:47.044 (3044920000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPONumber) 16:26:47.045 (3045102000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextOrderNumber) 16:26:47.045 (3045113000)|SYSTEM_MODE_ENTER|true 16:26:47.045 (3045120000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextOrderNumber 16:26:47.045 (3045151000)|CODE_UNIT_FINISHED|searchTextOrderNumber 16:26:47.045 (3045158000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextOrderNumber) 16:26:47.045 (3045317000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|ReturnListController get(searchTextPartNumber) 16:26:47.045 (3045327000)|SYSTEM_MODE_ENTER|true 16:26:47.045 (3045334000)|CODE_UNIT_STARTED|[EXTERNAL]|01pQ0000000A0de|searchTextPartNumber 16:26:47.045 (3045365000)|CODE_UNIT_FINISHED|searchTextPartNumber 16:26:47.045 (3045372000)|CODE_UNIT_FINISHED|ReturnListController get(searchTextPartNumber) 16:26:47.049 (3049325000)|VF_SERIALIZE_VIEWSTATE_BEGIN|066Q00000000sfm 16:26:47.052 (3052173000)|VF_SERIALIZE_VIEWSTATE_END 16:26:47.380 (3055358000)|CUMULATIVE_LIMIT_USAGE 16:26:47.380|LIMIT_USAGE_FOR_NS|(default)|   Number of SOQL queries: 0 out of 100   Number of query rows: 0 out of 50000   Number of SOSL queries: 0 out of 20   Number of DML statements: 0 out of 150   Number of DML rows: 0 out of 10000   Number of script statements: 88 out of 200000   Maximum heap size: 0 out of 6000000   Number of callouts: 1 out of 10   Number of Email Invocations: 0 out of 10   Number of fields describes: 0 out of 100   Number of record type describes: 0 out of 100   Number of child relationships describes: 0 out of 100   Number of picklist describes: 0 out of 100   Number of future calls: 0 out of 10

 

16:26:47.380|CUMULATIVE_LIMIT_USAGE_END

 

16:26:47.055 (3055386000)|CODE_UNIT_FINISHED|VF: /apex/returnlistpage 16:26:47.055 (3055392000)|EXECUTION_FINISHED

 



hi,

        I want to close the child window with refreshing parent window. I have used the code.

 

function closePage(){

window.opener.parent.location.replace('/{$CurrentPage.parameters.id}');

window.close();

}

 

it is working in firfox,chrome but not working in internet explorer.

 

can someone suggest for internet explorer what should be the code?

  • March 19, 2012
  • Like
  • 0

I have a page which has case standard controller and extension class. I need to send the caseid from this page to a second page which has a different controller. How can I send that in an url. I have a custom button on first page and by clicking that second page should be opened with case id being passed as part of url. Please help on this.

 

Many thanx

 

Hello Board,

 

I want to use two datepicker on visualforce page to specify range and based on their input values execute the query and display the result.

 

Is there any Datepicker available which will look like standard datepicker available in SF?

 

Thanks,

Devendra

Hi

 

I created a validation rule which uses $UserRole.Name in its condition. But there are too many roles that I have to use in my validation rule.I have a public group which contains various roles. I want to use some thing like "$Group.Name" instead of  "$UserRole.Name".  Is that possible?

My validation rule is as folows.

 

AND(  ISBLANK( Date_of_Birth__c ) ,

OR(
$UserRole.Name = 'Operations',
$UserRole.Name = 'Sales Manager',
$UserRole.Name = 'Sales Agent',
$UserRole.Name = 'Outbound Agent',
$UserRole.Name = 'Outbound Manager',
$UserRole.Name = 'Support Manager',
$UserRole.Name = 'BlueDirect Support Rep',
$UserRole.Name = 'Agent',
$UserRole.Name = 'Manager',
$UserRole.Name = 'TX Agent',
$UserRole.Name = 'TX Manager')
)

 

Please let me know if there is any other to achieve this.

Hi

 

I created a custom button on opportunity standard page. When the button is clicked a custom visual force page is opened  based on some criteria. The content source for this is onclick javascript. Then, on clicking the button the java script code associated with button should evaluate a criteria-  which is -

 

the custom visual force page should be opened only when address field in account related to current opportunity is not empty otherwise a page with error message should be displayed."

 

Please let me know how this can be achieved.

Hi

 

I want a pageblock section to be collapsed by default at the time of page loading. I tried using solutions posted on our discussion board but none of them are working correctly. Please post the correct approach.

 

thanks

Hi

 

I have an output link when clicked should open in new window not the tab. I tried using target=blank for IE browser but the link is getting opened in new tab but not new window.  Is there any way that I can open it in new window as popup instead of tab

Hi all

 

There is a field of type - picklist. It contains four picklist values. I want to create a horizontal bar or horizontal thick line divided in to four different colors(this can be created in separate section) i.e each picklist value correspond to one color in the bar. When one of those values is selected for that field and after the record is saved, corresponding color in the bar is highlighted.

 

How this can be achieved? How can I create a horizontal bar like that - using visual force or is there any other means?

 

(horizontal bar is what we see when coompleting a form -  bar which shows some percentage of bar in different color which is filled and other in different color which is yet to be filled)

 

hope u understand

Hi

 

I have a custom object with look up to Opportunity. I want some of opportunity field values to be copied in to this custom object fields at the time of first saving the custom object record. How can I achieve this?

Hi all

 

I have a scenario where I have a lookup between a custom object and opportunity. But in the search results when  search with opportunity name it should also display that custom object record which has the same name as that of Opportunity. It is not possible with standard search. I think it can achieved by visual force component. If anybody worked on a scenario like this and have a sample code please share.

 

Thanks