• Vivek Kidambi
  • NEWBIE
  • 40 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 15
    Questions
  • 11
    Replies
Did anyone use bower for managing CSS/JS in salesforce developement? 
i am looking for some guidance on using standard objects like accounts/contacts in a custom app development. Is there any downside if the design is based on custom objects? Custom app is planned to be shared using managed package down the line. Appreciate if anyone can share their experience using standard objects.

 
I have a pageblock table and multiple columns in it. I need to display a input text and an image (based on rendered condition) in a column but i have issues with white spaces when i use a panel grid inside column. 

Here is the code
<apex:column headerValue="Sample">
<apex:panelGrid columns="2">
<apex:inputSecret styleClass="pwd" style="width:90px; height:25px;" rendered="{!testcondition}"/>
<apex:image url="{!URLFOR($Resource.Images, 'sample.png')}" title="Click here.." rendered="{testcondition1}"/>
</apex:panelGrid>                                        
<apex:image url="{!URLFOR($Resource.Images, 'sample1.png')}" title="#2.." rendered="{testcondition2}"/>
<apex:image url="{!URLFOR($Resource.Images, 'sample2.png')}" title="#3.." rendered="{testcondition3}"/>
</apex:column>

Screenshot
I have a class which automatically creates portal user. I also have a trigger on user which has a callout on any updates on user. I need to bypass this user trigger whenever the user is created through this automated process and trigger should happen normally whenever a user edit happens other than auto creation process. how can i achieve this? Static variable a good option?
I have a method which creates Map<String,Object> by querying a object. I need to pass this value to a future method which has callout. Since callout method does not accept Sobject type as parameter, i need to convert this Map<String,Object> to Map<String,String>. 

Appreciate any insights on this issue

List<SObject> listObjectRecords = database.query('select ' + cusFields + ' from '+ objName + ' WHERE ID = \'' + objId + '\'');
 for(SObject sObj : listForMap) {
Map<String,Object> mapObj = (Map<String,Object>)Json.deserializeUntyped(Json.serialize(sObj));
}



 
I am trying to use schema object to retrieve record type using the ID. I am able to retrieve the object name say account using the below query, but how do i retrieve record type of the object using this information without SOQL

String objName = objId.getSObjectType().getDescribe().getName();  // Objid is the id of the record

Class is in a Master Detail relation with student

 

Which is master object and which one is detail here?

Hi All,

 

I did start with this thread: http://boards.developerforce.com/t5/General-Development/Install-Eclipse-Juno-4-2-with-Force-com-IDE/m-p/462323/highlight/true#M72103

 

But I am still running into the same problem. Here's my setup: 

 

Here's my setup

- Running Eclipse 4.2 as Admin (downloaded from here: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junor) and installed to desktop.

- JAVA_HOME set to C:\Program Files\Java\jdk1.7.0_05 (upgraded from jdk1.6.0_23) downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html

- Tried installing the Force.com IDE from the Eclipse Marketplace and got this error:

 

Cannot complete the install because one or more required items could not be found.
  Software being installed: Force.com IDE 25.0.0.201206181021 (com.salesforce.ide.feature.feature.group 25.0.0.201206181021)
  Missing requirement: Force.com IDE 25.0.0.201206181021 (com.salesforce.ide.feature.feature.group 25.0.0.201206181021) requires 'org.eclipse.update.ui 0.0.0' but it could not be found

 

Have I installed something incorrectly or overlooked something?