-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
18Questions
-
40Replies
Pagination on Forums Search Results
-
- rawiswar
- June 04, 2009
- Like
- 0
- Continue reading or reply
ExtJS Visualforce License Updates
This is with regards to the following conversation (quoted as is from forums) I found in the forums. Any more news on updates would be really helpful. Btw, I work with fairly large SF implementation and would help if you could identify what route to take to approach SF premium support regarding this.
"No additional cost will be applied to use salesforce provided
components implemented in terms of Ext.js but we're still working out
the licensing details w.r.t. customers and partners that want to build
their own pages/components using ext.js functionality directly.
Doug Chasman
Architect/Lead Developer, Visualforce - Salesforce.com"
-
- rawiswar
- June 04, 2009
- Like
- 0
- Continue reading or reply
legacy qn
how do we render pages as pdf (prior to VF) ... i am curious because someone mentioned that s(/he) did it outside of SFDC because VF was not available then ....
i am not sure where to look to see how it is done with Scontrols (i am assuming that this was the most powerful one then)
-
- rawiswar
- February 23, 2009
- Like
- 0
- Continue reading or reply
best practice qn
hi, say I have a JSP page I have hosted on an external server. The JSP page refers to an external DB to fetch the data it needs for its fields...
now, i want a VF page to be an exact replica of this (just consider data retrieval from DB -- don't bother about session maintenance and other allied problems)
what would be the best way for this page to function if I want to retain and use the external DB for the VF page?
Do I use web service call outs? or is there another way .. like a realtime appexchange tool?
say, I want to create such a tool for internal purposes (I don't want it to be generic), where can i start?
-
- rawiswar
- February 19, 2009
- Like
- 0
- Continue reading or reply
Suggestion about threads
-
- rawiswar
- January 22, 2009
- Like
- 0
- Continue reading or reply
XML parsing - anything other than StreamReader ??
Is there anything at a higher level than StreamReader to parse XML in Apex? I might be able to get the current issue resolved but it would be great to have anything else also.
As an aside, would someone know when Spring '09 is being released (I will have no need for workarounds once the promised feature set is available).
-
- rawiswar
- January 22, 2009
- Like
- 0
- Continue reading or reply
why are scontrols being phased out?
-
- rawiswar
- January 15, 2009
- Like
- 0
- Continue reading or reply
a suggestion
-
- rawiswar
- January 13, 2009
- Like
- 0
- Continue reading or reply
weird javascript
-
- rawiswar
- January 08, 2009
- Like
- 0
- Continue reading or reply
complexType attribute support
For example, it skipped 6 crucial definitions I had on the wsdl.
I tried including them manually but can't seem to figure out associated fieldOrder, fieldType etc.
Is there a way of having them included during conversion or in case I need to do it manually, what should I do?
The partial WSDL is as follows
<xsd:complexType> ...
<xsd:attribute name="productId" type="xsd:string" use="required"/>
<xsd:attribute name="lineNbr" type="xsd:int" use="required"/>
<xsd:attribute name="parentLineNbr" type="xsd:int" use="required"/>
<xsd:attribute name="qty" type="xsd:int" use="required"/>
<xsd:attribute name="approvalCode" use="optional">
Message Edited by rawiswar on 01-08-2009 12:42 PM
-
- rawiswar
- January 08, 2009
- Like
- 0
- Continue reading or reply
double datatype's limit
339023139214287764096850194819
Please let me know what is happening. I don't find it over the limit assignable.
-
- rawiswar
- January 07, 2009
- Like
- 0
- Continue reading or reply
wait on web service call; use retrieved data
call a web service and retrieve a variable x; use this variable x to construct a url to load in a VF iFrame. would the call execution occur in time for the page request to be formed properly? i mean i want the variable to be initialized and accepted as part of the url before the page request is sent from the iFrame. If it won't how can I achieve this?
would the routine:
call web service; retrieve result as an apex string and append to url for iframe src work? i am yet to get the web service to try this out ... should try it today or tomm
Thanks
-
- rawiswar
- January 06, 2009
- Like
- 0
- Continue reading or reply
JAR file access inside Salesforce (visualforce or scontrols) ??
Thanks!
Message Edited by rawiswar on 12-24-2008 10:21 AM
-
- rawiswar
- December 24, 2008
- Like
- 0
- Continue reading or reply
s-control with jar?
-
- rawiswar
- December 23, 2008
- Like
- 0
- Continue reading or reply
Apex external database connection/ querying
-
- rawiswar
- December 23, 2008
- Like
- 0
- Continue reading or reply
apex WSDL requirements
Could someone tell me where to find SFDC requirements for WSDLs?
(this is a suggestion to SF).--->
I really want it in a single document/ section of a document. Salesforce could at least list all the errors and a short description.
I am really tired of having to ask on discussion boards and wait for the reply (if ever anyone knows of it). If not for the people on the community, i wouldn't even consider going with SFDC. thanks guys.
-
- rawiswar
- December 18, 2008
- Like
- 0
- Continue reading or reply
how to test with a separate test class
what should i do to test all the classes if I want my test methods in a separate class?
would it be enough for salesforce to accept and deploy the classes if the testmethods just about create an object of the classes? (i know it is a yucky thing to do; just want to know the limits).
would i need to test each inner class or is it enough to test just the outer class?
how is this 75% know to force.com ... is each method being counted as an entity and 75% of entities being the requirement?
Thanks
Message Edited by rawiswar on 12-08-2008 02:18 PM
-
- rawiswar
- December 08, 2008
- Like
- 0
- Continue reading or reply
compilation error generating Apex code from external WSDL
The following generated class(es) have compilation errors: Error: wwwOpenuriOrg Error: unexpected token: tempOpenuriOrgWebserviceBpdataXsd.ArrayOfLISTINGID at 15:16
public class VerifyBPExistsReq_element { public tempOpenuriOrgWebserviceBpdataXsd.ArrayOfLISTINGID LIST; private String[] LIST_type_info = new String[]{'LIST','http://temp.openuri.org/WebService/BPData.xsd','ArrayOfLISTINGID','1','1','false'}; private String[] apex_schema_type_info = new String[]{'http://www.openuri.org/','true'}; private String[] field_order_type_info = new String[]{'LIST'}; }
This is the error message I am getting when I try to generate stubs from a production WSDL. Attached with the error message, is the code for the specified lines of the generated error-prone code. I am not sure why this is so. I am obviously missing something. Please do let me know what the error is. Thanks.
-
- rawiswar
- December 08, 2008
- Like
- 0
- Continue reading or reply
Can you use UserInfo to determine read/edit rights on Campaign?
I'm trying to determine a User's access rights (read only, edit) to a Campaign object at runtime, from Apex, so I can selectively provide custom functionality.
I've looked into UserInfo.getProfileId(); but I really need the "Can Modify Current Campaign" or "Cannot Modify Current Campaign" answer if possible.
Thanks in advance for any help!!
- awp_paas
- September 11, 2009
- Like
- 0
- Continue reading or reply
testMethod coverage with callouts
- EXRADM
- February 19, 2009
- Like
- 0
- Continue reading or reply
Force grouping sections when VF page is rendered as pdf
Hi,
Is it possible to force group sections when a VF page is rendered as a PDF doc. So a a form do not get split between pages (example: Never have the signature block span 2 pages).
I know it's possible to add page breaks in pdf but I don't want to explictly add page breaks and want to only add page breaks if the sections is going to be split bewteen 2 pages.
Please let me know if this is possible in VF or if I take advantage of any pdf functionality.
Thanks in advance.
- Ash
- February 18, 2009
- Like
- 0
- Continue reading or reply
Suggestion about threads
- rawiswar
- January 22, 2009
- Like
- 0
- Continue reading or reply
XML parsing - anything other than StreamReader ??
Is there anything at a higher level than StreamReader to parse XML in Apex? I might be able to get the current issue resolved but it would be great to have anything else also.
As an aside, would someone know when Spring '09 is being released (I will have no need for workarounds once the promised feature set is available).
- rawiswar
- January 22, 2009
- Like
- 0
- Continue reading or reply
How to access member variables of class in webservice method?
Hi,
I want to use the class member variable in the webservice method.
global class test123 { List<Opportunity> selopplist1 = new List<Opportunity>(); WebService static void getFromListPage(String[] IdList) { SelOppList1 = [select Name, Account.Name, Type from opportunity where id in :IdList]; } }
Here I want to use selopplist1 in the webservice method, but I am getting an error like variable is not declared.
I tried by keeping global as well as webservice keyword before the declaration but still I am getting the same error.
Any help on this highly appreciated
- hisrinu
- January 22, 2009
- Like
- 0
- Continue reading or reply
How to generate Apex class from WSDL in force.com?
- sd2008
- January 16, 2009
- Like
- 0
- Continue reading or reply
why are scontrols being phased out?
- rawiswar
- January 15, 2009
- Like
- 0
- Continue reading or reply
Can we access external MS SQL data via salesforce/appExchange?
Just learning about what is possible with salesforce.com and had an initial question. Can we access and display (and subsequently choose via button to import the data into, e.g., salesforce contacts/leads) external MS SQL data via the salesforce UI, or via a custom "AppXchange" program? Or would we need to replicate the existing MS SQL data in a Salesforce DB and access it that way? Thanks in advance and please let me know if unclear/need more info.
Dave
- Dave Forgianni
- January 15, 2009
- Like
- 0
- Continue reading or reply
a suggestion
- rawiswar
- January 13, 2009
- Like
- 0
- Continue reading or reply
weird javascript
- rawiswar
- January 08, 2009
- Like
- 0
- Continue reading or reply
WebService External Callouts - Change Read Timeout
- qvision
- January 04, 2009
- Like
- 0
- Continue reading or reply
Apex external database connection/ querying
- rawiswar
- December 23, 2008
- Like
- 0
- Continue reading or reply
Hijacking the WYSIWYG editor on VF pages
<apex:inputTextarea value="{!inputValue}" id="theTextarea" richText="true" />
- a div that contains a hidden config value
- an iframe that contains the editor
- ...and javascript section that calls the necessary parameters when the page is loaded.
- Create your visual force page as you see fit. It goes without saying that you should have a rich text block linked to some textarea field in your object.
- Once you've created your page, test it. Using Chrome or Firebug, find out the ids of the divs that get created when the page runs. From the above example, id="theTextarea", might get turned into:
- The iFrame: "j_id0:j_id2:editBlock:j_id33:theTextarea___Frame"
- The config block: "j_id0:j_id2:editBlock:j_id33:theTextarea___Config"
- The textarea: "j_id0:j_id2:editBlock:j_id33:theTextarea"
- Go back to your visualforce page and add this script block directly under the <apex:inputTextarea> code block.
<script type="text/javascript"> setTimeout("swap();",5000); function swap() { alert("Running function..."); var origFrame = document.getElementById('j_id0:j_id2:editBlock:j_id33:theTextarea___Frame'); alert("Removing iFrame"); origFrame.parentNode.removeChild(origFrame); var configItem = document.getElementById('j_id0:j_id2:editBlock:j_id33:theTextarea___Config'); alert("Removing config..."); configItem.parentNode.removeChild(configItem); alert("Creating new editor..."); var editor = new FCKeditor('j_id0:j_id2:editBlock:j_id33:theTextarea'); editor.BasePath = '/apexpages/fckeditor/'; editor.ReplaceTextarea(); alert("Done..."); } </script>
- Retest your page. The old editor should disappear and be replaced with the new one which includes all the fancy features of FCK.
- Less
- November 14, 2008
- Like
- 0
- Continue reading or reply
Rich Text editor disabled? Working in Sandbox, not in production server
Anyone know if the Dojo rich text editor for input textareas has been disabled? That's the one that shows up when you set the richtext attribute to true. It has stopped working in my Production server, but it is still working in my sandbox.
I noticed that in the developer server Firebug catches 2 errors, neither of which show up in my sandbox:
dojo.render is undefined
dojo.js line 492
var drh=dojo.render.html;
and
servletIntegration?lid=01N7[...]
this.lookupInput.onkeyup = AutoComplete.prototype.onKeyUp;
thanks,
-paul
Message Edited by ptepper on 09-10-2008 12:49 PM
- ptepper
- September 09, 2008
- Like
- 0
- Continue reading or reply