-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
12Questions
-
18Replies
Chatter API Documentation?
Is there any documentation available for the new Chatter API? If so, I would appreciate any information that you can provide.
Thanks,
Phillip
-
- PhillipPDX
- March 26, 2010
- Like
- 0
- Continue reading or reply
Selecting and Uploading multiple Content files to salesforce using Adobe Flex
Hi,
I want to develop an application in Adobe Flex (Web application running in SalesForce custom tab) which will allow me to upload content files to my salesforce account.
I have got a solution http://www.pocketsoap.com/weblog/2010/04/1845.html here using visualforce, but unfortunatelly Vf does not allow to select multiple files using same File selection box, which Adobe Flex can do using FileReferenceList colletion.
Does anyone has a code for uploading the content files using Adobe Flex toolkit for Force.com?
-
- rohitmarathe
- June 11, 2010
- Like
- 0
- Continue reading or reply
Possible VisualForce Bug for apex:pageBlockSection Tag
Hi,
This is a small VF bug I found when I was adding pageBlock section inside repeater control. I found that when I do so the maximize minimize functionality of page block section stops working.
Here is my code for the VF page
<apex:page standardController="ToDos__c" extensions="ToDosController"> <apex:sectionHeader title="Weekly View" subtitle="{!ToDos__c.Name}"/> <apex:form > <apex:pageBlock > <apex:repeat value="{!lstInner}" var="ToDoItem"> <apex:pageBlockSection title="Week {!ToDoItem.weekNumber}" columns="1"> <apex:pageBlockTable value="{!ToDoItem.lstDailyItems}" var="dailyItem"> Some <apex:column> tags here </apex:pageBlockTable> </apex:pageBlockSection> </apex:repeat> </apex:pageBlock> </apex:form> </apex:page>
When this page gets rendered minimize maximize functionality for all pageBlockSection tags was not working but was going js error.
I just added one more hidden page block section before my repeater and all pageBlockSections started working properly.
<apex:page standardController="ToDos__c" extensions="ToDosController">
<apex:sectionHeader title="Weekly View" subtitle="{!ToDos__c.Name}"/>
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection title="Week" columns="1" collapsible="true" rendered="false"/>
<apex:repeat value="{!lstInner}" var="ToDoItem">
<apex:pageBlockSection title="Week {!ToDoItem.weekNumber}" columns="1">
<apex:pageBlockTable value="{!ToDoItem.lstDailyItems}" var="dailyItem">
Some <apex:column> tags here
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:repeat>
</apex:pageBlock>
</apex:form>
</apex:page>
This might not be a right way to overcome the bug, but it works.:manhappy:
Similar is applicable in many other cases.
For example if default calendar (datepicker) is not working for the Date type inputField inside pageblock table.(I have observed this for Task as a standardController). You add one Date type inputField as hide it. All datepickers on the page will start working properly.
Experts on VisualForce can give better solution than this.
-
- rohitmarathe
- May 27, 2010
- Like
- 0
- Continue reading or reply
Creating Fields using Force.com toolkit for Adobe Flex
Hi,
I want to create new fields in one of the custom object dynamically using Adobe Flex toolkit. As per documentation ot seems that it is not possible by usling Flex toolkit alone.
Do I need to use Metadata API for this. IF YES, then can anyone guide me how I can call metadata API from Adobe flex static resource (.swf).
I have also read about Adobe Flash Builder for Force.com, is this a tool for me to achive the above.
One more thing, if someone has a link for advance topics for Force.com toolkit for Adobe Flex please give me the link.
Thanks
-
- rohitmarathe
- May 25, 2010
- Like
- 0
- Continue reading or reply
Salesforce Certification Related Links
Hello,
I am working as a Force.com developer from last few years and now realizing that its very important for developers to get certified because many organizations and clients prefer certified developers.
When I was searching for the SalesForce certification related stuff for developers for me and my team I found following useful links. Might be useful for the others too
This is what I found, but its not complete. Provide more links and sample questions if you have.Thanks in advance
Lanading page for certifications
Look at the bottom of the page for the study guides for varios exam types and levels.
http://www.salesforce.com/services-training/training_certification/certification/
For developer certification
http://www.salesforce.com/services-training/training_certification/developer/
Video Trainings from SalesForce
Following link has video traings provided by SalesForce
http://www.salesforce.com/services-training/training_certification/online/
However SalesForce also offers premier training material but which is paid, One can apply for it by clicking a link given at the bottom of the above url page.
More Links
Following site offers you more material and guide lines for the certification related stuff for free.
http://forcecertified.com/certifications/
This give you detailed information about the overall schema for the developer examination levels
http://forcecertified.com/category/certified-developer/
http://forcecertified.com/category/certified-advanced-developer/
More Video training material
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=325668840
Certification Blog
This also has some sample questions
http://mysalesforcecode.blogspot.com/2009/03/developer-401-forcecom-exam-tips.html
If you have more material or want to share any information or have any queris feel free to contact me @ rohit.marathe@trekbin.com
-
- rohitmarathe
- April 25, 2010
- Like
- 0
- Continue reading or reply
Getting the latest User Profile image thumbnail using API
Hi,
Using unsupported url like this <SalesForce.com instance path>/userphoto?u={!userid}&v=1&s=T we can get the profile picture of the user. But this is not giving the latest picture always, because parameter v=1 that controls the version of the picture and there is no way by which we can get what is the current version number.
The code recipe given here http://wiki.developerforce.com/index.php/Chatter_Code_Recipes says that soon there will be way available to get the latest user profile picture.
Is there any update on this. If use object have a field to store the latest profile picture version, it will be very easy for developers to query it.
Thanks
-
- rohitmarathe
- April 23, 2010
- Like
- 0
- Continue reading or reply
Querying Fields in Mini Page layout via apex
Hi,
Is there any way be which I can query the fields and their order in Mini Page layout for given SalesForce object (Ex Account, Contact etc).
I can use Apex class and Flex for this. I want minipage layout fields with their order in my Adobe Flex application.
-
- rohitmarathe
- April 23, 2010
- Like
- 0
- Continue reading or reply
Custom buttons or links of Profile page of user.
Is there a way by which I can add cutom buttons or links to the user's Chatter Profile page. To be exact, by default I get two links at the top of the Profile page User Detail and Help for this page, I want to add one more link before them, which will call some cutom VF page I have created..
One more additional question
When the latest version of the user's Profile page will be available to us using API?
-
- rohitmarathe
- April 12, 2010
- Like
- 0
- Continue reading or reply
Querying chatter related with in Adobe Flex toolkit
-
- rohitmarathe
- March 27, 2010
- Like
- 0
- Continue reading or reply
Getting Salesforce instance type in apex class
I am sending emails through my Apex class(NOT VisualForce APEX class). The text body of EMail contains the hyperlink to one of my Visualforce page. But depending on the Salesforce account type the instance name in the URL changes.(Example: https://cs2.salesforce.com/apex/myTimeSheets).
In above case cs2 can be na1 or na2 depending on instance type.
Is there any method in APEX by which I can get the name of the SF instance?
This is very simple in SControl but I am not getting anything in Apex fopr the same.
-
- rohitmarathe
- October 08, 2008
- Like
- 0
- Continue reading or reply
How to get the name of the today's day in Apex class
I am developing an apex class which is getting fired by a cron toolkit. In this Apex class I am checking for the name of the day for today(Example. Sunday, Monday etc.). I need to perform some database operations in today is the Wednesday. But I am not getting method in date object static and instance methods which will geive me the name of the day for specified date. Can anyone tell me the syntax of such method. Please note that it should be Apex class method.
Thanks for the help :)
-
- rohitmarathe
- October 08, 2008
- Like
- 0
- Continue reading or reply
Attaching file with the Leads record
-
- rohitmarathe
- March 27, 2008
- Like
- 0
- Continue reading or reply
Finding out time required to query execution
-
- rohitmarathe
- August 30, 2006
- Like
- 0
- Continue reading or reply
Possible VisualForce Bug for apex:pageBlockSection Tag
Hi,
This is a small VF bug I found when I was adding pageBlock section inside repeater control. I found that when I do so the maximize minimize functionality of page block section stops working.
Here is my code for the VF page
<apex:page standardController="ToDos__c" extensions="ToDosController"> <apex:sectionHeader title="Weekly View" subtitle="{!ToDos__c.Name}"/> <apex:form > <apex:pageBlock > <apex:repeat value="{!lstInner}" var="ToDoItem"> <apex:pageBlockSection title="Week {!ToDoItem.weekNumber}" columns="1"> <apex:pageBlockTable value="{!ToDoItem.lstDailyItems}" var="dailyItem"> Some <apex:column> tags here </apex:pageBlockTable> </apex:pageBlockSection> </apex:repeat> </apex:pageBlock> </apex:form> </apex:page>
When this page gets rendered minimize maximize functionality for all pageBlockSection tags was not working but was going js error.
I just added one more hidden page block section before my repeater and all pageBlockSections started working properly.
<apex:page standardController="ToDos__c" extensions="ToDosController">
<apex:sectionHeader title="Weekly View" subtitle="{!ToDos__c.Name}"/>
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection title="Week" columns="1" collapsible="true" rendered="false"/>
<apex:repeat value="{!lstInner}" var="ToDoItem">
<apex:pageBlockSection title="Week {!ToDoItem.weekNumber}" columns="1">
<apex:pageBlockTable value="{!ToDoItem.lstDailyItems}" var="dailyItem">
Some <apex:column> tags here
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:repeat>
</apex:pageBlock>
</apex:form>
</apex:page>
This might not be a right way to overcome the bug, but it works.:manhappy:
Similar is applicable in many other cases.
For example if default calendar (datepicker) is not working for the Date type inputField inside pageblock table.(I have observed this for Task as a standardController). You add one Date type inputField as hide it. All datepickers on the page will start working properly.
Experts on VisualForce can give better solution than this.
- rohitmarathe
- May 27, 2010
- Like
- 0
- Continue reading or reply
Upload Content Document Through API
Hi,
I am looking for a way to upload a document to a workspace. It does not seem that it can be done in the same way as uploading to the Documents tab or Attaching to a record. There is no body field accessible through the standard API so how to send to the content?
I came across the Bulk API, but this seems to be designed for uploading multiple records rather than ContentDocuments as there would be no exposed body field.
Any ideas on how to programatically contribute a local document to a workspace?
Thanks,
Matt
- Matt_pr
- May 05, 2010
- Like
- 0
- Continue reading or reply
Getting the latest User Profile image thumbnail using API
Hi,
Using unsupported url like this <SalesForce.com instance path>/userphoto?u={!userid}&v=1&s=T we can get the profile picture of the user. But this is not giving the latest picture always, because parameter v=1 that controls the version of the picture and there is no way by which we can get what is the current version number.
The code recipe given here http://wiki.developerforce.com/index.php/Chatter_Code_Recipes says that soon there will be way available to get the latest user profile picture.
Is there any update on this. If use object have a field to store the latest profile picture version, it will be very easy for developers to query it.
Thanks
- rohitmarathe
- April 23, 2010
- Like
- 0
- Continue reading or reply
Querying Fields in Mini Page layout via apex
Hi,
Is there any way be which I can query the fields and their order in Mini Page layout for given SalesForce object (Ex Account, Contact etc).
I can use Apex class and Flex for this. I want minipage layout fields with their order in my Adobe Flex application.
- rohitmarathe
- April 23, 2010
- Like
- 0
- Continue reading or reply
Querying chatter related with in Adobe Flex toolkit
- rohitmarathe
- March 27, 2010
- Like
- 0
- Continue reading or reply
Chatter API Documentation?
Is there any documentation available for the new Chatter API? If so, I would appreciate any information that you can provide.
Thanks,
Phillip
- PhillipPDX
- March 26, 2010
- Like
- 0
- Continue reading or reply
How to get the name of the today's day in Apex class
I am developing an apex class which is getting fired by a cron toolkit. In this Apex class I am checking for the name of the day for today(Example. Sunday, Monday etc.). I need to perform some database operations in today is the Wednesday. But I am not getting method in date object static and instance methods which will geive me the name of the day for specified date. Can anyone tell me the syntax of such method. Please note that it should be Apex class method.
Thanks for the help :)
- rohitmarathe
- October 08, 2008
- Like
- 0
- Continue reading or reply
Datetime.format method with timezone doesn't return time-zone-based character of day-of-week.
I try to get formatted date string with day-of-week
by using Datetime.format method with timezone argument.
I want Japanese character day-of-week but It returns English day-of-week .
Do you have any idea?
public class PackageTestClass { private String getDate(){ Date dateWk = System.today(); Datetime dt = Datetime.newInstance(dateWk.year(), dateWk.month(), dateWk.day()); return dt.format('M/d(EEE)','Asia/Tokyo'); } static testMethod void testManualShareRead(){ PackageTestClass ptc = new PackageTestClass(); System.debug(ptc.getDate()); } }
*My personal setting is like these:
Time zone: Asia/Tokyo
location: Japan
Language: Japanese
********************************
Any help will be appreciated.
Thanks,
- rrrkitamura
- October 07, 2008
- Like
- 0
- Continue reading or reply
Create Record Type field in Custom object
I am trying to access a recordtype field in a Custom object.I have created two record types in this object.But I am not able to access it.In salesforce account it shows me as a standard field, but that same field is not seen in the sforce explorer and it gives me an error that the field does not exist while I try to update it.What could be the reason that I am not able to access the record type.Please suggest me a way to make a record type in Custom Object.
Thanks in Advance.!
- vishallad
- April 17, 2008
- Like
- 0
- Continue reading or reply
Attaching file with the Leads record
- rohitmarathe
- March 27, 2008
- Like
- 0
- Continue reading or reply
How to enable Visualforce in Developer Edition builds?
The Force cookbook states:
Note: As of September 2007, Visualforce is available as a Developer Preview only.
The product/functionality matrix on p.30 of the cookbook shows the "Visualforce Developer Preview" as being available to Developer Edition accounts.
I'm writing this post because it's not available in my dev. edition account, and I'm unsure how to get it enabled. Neither the Setup > Build > Pages nor Setup > My Personal Information > Personal Information > Developer Mode options are available to me, so I assume it's the org itself that needs enabling.
Do I have to sign up for a new developer edition account? That would be somewhat painful, as I have a fair amount of custom objects & Apex Code in my current dev. edition account that I want to use with Visualforce.
- jhart
- September 18, 2007
- Like
- 0
- Continue reading or reply
Apex Eclipse Toolkit (8.0.2001) requires plug-in "org.apache.axis
- Angel118
- March 20, 2007
- Like
- 0
- Continue reading or reply
How to Show progressbar when query is running?PLS HELP
- Rohit2006
- September 01, 2006
- Like
- 0
- Continue reading or reply