tag:blogger.com,1999:blog-6469944956878298758.post2179971016188453059..comments2024-03-14T04:20:04.074-07:00Comments on cloudy abhi ☁: Dynamic List Of Fields On The Basis of There Data Types #Salesforcecloudyabhihttp://www.blogger.com/profile/01847447750375125052noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-6469944956878298758.post-74971877876958267622015-05-18T03:44:12.419-07:002015-05-18T03:44:12.419-07:00Creation of map,List and their memory allocation i...Creation of map,List and their memory allocation is not correct.<br />Please Update the same :-)Abhinav Sharmanoreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-85851648450254831452014-09-29T00:21:55.201-07:002014-09-29T00:21:55.201-07:00Hi Abhi,
Can you plz send the code to "sushe...Hi Abhi,<br /><br />Can you plz send the code to "susheelkumarbusireddy@gmail.com"Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-7296176757777283372014-07-03T07:53:17.495-07:002014-07-03T07:53:17.495-07:00Hi,
How to retrieve custom objects created dat...Hi,<br /> How to retrieve custom objects created dates in a pageblocktable using schema methods in an visualforce page?<br /><br />help me..Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-6782250829749835802014-05-22T22:18:35.584-07:002014-05-22T22:18:35.584-07:00Hi Abhi Tripathi,
using this (Schema.getGlobalDesc...Hi Abhi Tripathi,<br />using this (Schema.getGlobalDescribe().get(strtrmp).getDescribe().fields.getMap().values();)i displayed all fields in an visualforce page related to this Object(String strtemp=‘Mahesh__’+strFieldName + ‘__c’;)<br />.But I try to add edit and delete functionalities these object(strtemp) related fields.That's why gave like the following in Wrapper class.<br />Public class Wrapper()<br />{<br />public strtemp obj{get; set;}//Here strtemp is like String strtemp = ‘Mahesh__’+strFieldName + ‘__c’;<br /><br />public Wrapper(strtemp obj)<br />{<br />this.strtemp=strtemp;<br />}<br />}<br /><br />is it possible.Here i got error:Invalid type: strtemp<br /><br />how to assign strtemp like object Here?<br /><br />please help me.......Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-53185475353637868532014-05-22T22:16:38.989-07:002014-05-22T22:16:38.989-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-32138331757685645102014-05-22T04:49:50.093-07:002014-05-22T04:49:50.093-07:00Hi Mahesh,
You can use this list of Schema.Sobject...Hi Mahesh,<br />You can use this list of Schema.Sobjectfield<br /><br />Schema.getGlobalDescribe().get(stringOfObjectName).getDescribe().fields.getMap().values();cloudyabhihttps://www.blogger.com/profile/01847447750375125052noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-83809258228292061702014-05-22T04:35:28.214-07:002014-05-22T04:35:28.214-07:00Hi Abhi Tripathi,
I comple...Hi Abhi Tripathi,<br /> I complete above task,Now Actually ,In my requirement Object like following type<br />string strtemp = ‘Mahesh__’+strFieldName + ‘__c’;//Object come as through URL like strFieldName(object name in the form of string). <br /><br />How to assign strtemp to object type?<br /><br />please help me………….Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-90830840301159933112014-05-21T22:27:21.442-07:002014-05-21T22:27:21.442-07:00Sent you a mail.
Thanks :)Sent you a mail.<br /><br />Thanks :)cloudyabhihttps://www.blogger.com/profile/01847447750375125052noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-63521349224773685572014-05-20T05:51:18.628-07:002014-05-20T05:51:18.628-07:00 Hi Abhi Tripathi,
... Hi Abhi Tripathi,<br /> the above code display (pageblocktable)looks like same, but without using picklist values.Only display Fields label name,api name and type related fields with in the pageblocktable using wrapper class .Please help me............Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-2075826894649642072014-05-16T21:44:24.425-07:002014-05-16T21:44:24.425-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-45774050293459874452014-05-16T03:19:07.511-07:002014-05-16T03:19:07.511-07:00Hi Mahesh,
Using wrapper class, you can create va...Hi Mahesh,<br /><br />Using wrapper class, you can create variable in wrapper class to hold the value of Labels, Api Names and Data Type. This response comes when we use schema methods like getDescribe() method.<br />But I think that approach is not good for practice.<br />Schema response is too easy to handle on the same class.<br /><br />Regards<br />cloudyabhihttps://www.blogger.com/profile/01847447750375125052noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-34766688785074119042014-05-16T03:15:59.888-07:002014-05-16T03:15:59.888-07:00Hi Mahesh,
Give me your email id . i'll send y...Hi Mahesh,<br />Give me your email id . i'll send you the code.<br /><br />Regardscloudyabhihttps://www.blogger.com/profile/01847447750375125052noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-14604982057420515892014-05-16T02:59:23.361-07:002014-05-16T02:59:23.361-07:00Hi,
above code is possible to using wrappe...Hi,<br /> above code is possible to using wrapper class.Using wrapper class how to display Field LableName,Api Name and data type using visualforce page and apex class.<br /><br />please help me<br />Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-72016790856855599822014-05-16T00:13:44.101-07:002014-05-16T00:13:44.101-07:00Thank you Abhi Tripathi,
Actually i try to copy an...Thank you Abhi Tripathi,<br />Actually i try to copy and paste the above code but Map and List related types some problem.<br /><br />please help me......Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-7768273338813546502014-05-16T00:12:51.863-07:002014-05-16T00:12:51.863-07:00Thank you Abhi Tripathi,
...Thank you Abhi Tripathi,<br /> Actually i try to copy and paste but Map and List related types some problem.<br /><br />please help me......Anonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-48855976383777518992014-05-07T02:57:11.568-07:002014-05-07T02:57:11.568-07:00Hi Mahesh,
It doesn't matter how you created a...Hi Mahesh,<br />It doesn't matter how you created a field in this code, it will fetch the field according to there Data Type from the particular object.cloudyabhihttps://www.blogger.com/profile/01847447750375125052noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-1751471767882815872014-05-06T21:40:33.089-07:002014-05-06T21:40:33.089-07:00through metadata api i created field but how to di...through metadata api i created field but how to display created field dynamically in an visualforce pageAnonymoushttps://www.blogger.com/profile/04484960355070172958noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-68075896828040331802013-09-19T07:33:22.180-07:002013-09-19T07:33:22.180-07:00Thanks buddy.Thanks buddy.cloudyabhihttps://www.blogger.com/profile/01847447750375125052noreply@blogger.comtag:blogger.com,1999:blog-6469944956878298758.post-79298482218928033102013-09-06T22:16:33.139-07:002013-09-06T22:16:33.139-07:00Must read post for beginners. Awesome...Must read post for beginners. Awesome...Anonymousnoreply@blogger.com