Shekhar Gadewar
IndividualForum Replies Created
-
Shekhar Gadewar
MemberJuly 22, 2016 at 9:16 am in reply to: How to show PickList field as Radio Buttons on Visualforce Page?Hi Tanu,
Try this>>>
VF CODE:
<apex:page controller="ProductSelectionlist" >
<apex:form>
<apex:pageblock title="Product Selection" id="theBlock">
<apex:outputtext value="Which product would you like to add to the oppoortunity? (select one)" />
<apex:pageblocksection columns="1">
<apex:SelectRadio value="{!ProductOption}">
<apex:selectOptions value="{!yesno}"/>
</apex:SelectRadio>
</apex:pageblocksection>
</apex:pageblock>
</apex:form>
</apex:page>
CONTROLLER CODE :
public class ProductSelectionlist
{
public string ProductOption{get;set;}
public ProductSelectionlist(){}
public List<SelectOption> getYesNo() {
List<SelectOption> options = new List<SelectOption>();
options.add(new SelectOption('true', 'Yes'));
options.add(new SelectOption('false', 'No'));
return options;
}
}
-
Shekhar Gadewar
MemberJuly 22, 2016 at 9:14 am in reply to: How to disable a input Text and then enable it based on selected value of check box?Try using OnClick() + ActionFunction
-
Shekhar Gadewar
MemberJuly 22, 2016 at 9:11 am in reply to: Why I can't Edit or Delete my Domain name in Salesforce?Hi,
Salesforce doesn't allow for deletion in some cases.You can try raising a ticket.
-
Shekhar Gadewar
MemberJuly 21, 2016 at 1:28 pm in reply to: How to add field history as a related list of opportunity in vf page?Hi,
Go to profile and drag "Opportunity Field History"
-
Shekhar Gadewar
MemberJuly 21, 2016 at 1:10 pm in reply to: How to create a vf page automatically on creation of Account?Thanks a lot Saurabh!!
🙂
-
Shekhar Gadewar
MemberJuly 21, 2016 at 1:06 pm in reply to: How to extract the file extension into an custom field?Hi Tanu,
U can try : lastIndexOf() function
-
Shekhar Gadewar
MemberJuly 21, 2016 at 12:52 pm in reply to: How we can call the external javascript inside a Visualforce page?Hi Mohit,
Here is the example:
<apex:includeScript value="{!$Resource.example_js}"/>
-
Shekhar Gadewar
MemberJuly 21, 2016 at 12:51 pm in reply to: How can be lock or unlock a record on a object by a approval process?Hi Mohit.
You can do that using:
1.Approval.LockResul
2.Approval.UnlockResult
-
Shekhar Gadewar
MemberJuly 21, 2016 at 12:50 pm in reply to: How can we perform dml operations in visualforce page?Please use sforce for this
-
Shekhar Gadewar
MemberJuly 19, 2016 at 10:15 am in reply to: How to create a vf page automatically on creation of Account?Thanks Sourabh for such useful info.
Do you have any sample for that?
Thanks
-
Shekhar Gadewar
MemberJuly 19, 2016 at 10:13 am in reply to: How can we write a such apex controller class which can be used by multiple vf pages on requirement?Hi
Sourabh,
In last line,
"ControllerName" is Apex class controller?
Then will it support "StandardController" attribute?
Please check once
-
Shekhar Gadewar
MemberJuly 19, 2016 at 3:31 am in reply to: What is the difference between Readable,Visible and Read Only in permission set?Reference pls
-
Shekhar Gadewar
MemberJuly 19, 2016 at 3:30 am in reply to: How to set a particular field for an user read only from page layout?Hi,
You can make a field read only by field properties on Page Layout.
But you can assign it at Profile Level.
-
Shekhar Gadewar
MemberJuly 13, 2016 at 8:40 am in reply to: How to iterate map in Salesforce Lightning?According to the Aura docs it looks like this is only defined to iterate over a List.
-
Shekhar Gadewar
MemberJuly 12, 2016 at 1:51 pm in reply to: Path On Client is not a required field in content version but it is required in Apex. Why?Reference pls.
-
Shekhar Gadewar
MemberJuly 12, 2016 at 1:51 pm in reply to: How to display Account Owner name in Visualforce Page?Have u passed any account id for this page?
-
Shekhar Gadewar
MemberJuly 12, 2016 at 1:47 pm in reply to: How can we check our lightning component without lightning application creation?Have you tried Lightning out?
-
Shekhar Gadewar
MemberJuly 5, 2016 at 5:45 am in reply to: API Name changes if we change the name of the custom field?Hi Mark,
When changing label, it will also try to change API name. This you can avoid by keeping same API name.
Best Practice: Never change API name and only change label as we have used API names at many places.
-
Shekhar Gadewar
MemberJuly 5, 2016 at 5:28 am in reply to: How to know the API Name of Standard or Custom Salesforce Objects?You can see in Object Details page.
-
Shekhar Gadewar
MemberJuly 5, 2016 at 5:26 am in reply to: API Name changes if we change the name of the custom field?If u want to skip change in API name, you can change only Label.