Forcetalks | Sourabh | Activity https://www.forcetalks.com/srvgoyal/activity/ Activity feed for Sourabh. Sun, 07 Dec 2025 21:43:18 +0530 https://buddypress.org/?v=2.15.3 en-US 30 hourly 2 f5d8fe44b7402767c02b9ca2a5793481 Sourabh replied to the discussion Can I Insert a Static Resource using Apex Code in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-i-insert-a-static-resource-using-apex-code-in-salesforce/#post-16906 Mon, 07 Nov 2016 10:28:08 +0530 Reply to Can I Insert a Static Resource using Apex Code in Salesforce?

Hi Ajit,

Metadata Api can help you out for creating static resource, Do someting like this:-

MetadataService.MetadataPort service = createService();
MetadataService.StaticResource staticResource = new MetadataService.StaticResource();
staticResource.fullName = 'MyResource';
staticResource.contentType = 'text';
staticResource.cacheControl… Read more

]]>
4a4372cf53b432b5fb8136b291a978fe Sourabh replied to the discussion How to get Custom field id in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-get-custom-field-id-in-salesforce/#post-16012 Thu, 15 Sep 2016 12:30:34 +0530 Reply to How to get Custom field id in Salesforce?

Hi Tanu,

To get custom field Id in Salesforce you have to use Tooling Api. Here is a piece of code , Hopefully it will help you.

HttpRequest req = new HttpRequest();
req.setHeader('Authorization', 'Bearer ' + UserInfo.getSessionID());
req.setHeader('Content-Type', 'application/json');

String toolingendpoint… Read more

]]>
b219b34ee7cacb431e4667db562a439d Sourabh started the discussion Sharepoint Salesforce Integration - How to get download link? in the forum https://www.forcetalks.com/salesforce-topic/get-download-link/ Thu, 04 Aug 2016 12:41:27 +0530 Sharepoint Salesforce Integration - How to get download link?

Hi,

Need to Download files coming from sharepoint in salesforce. How to achieve this without login into sharepoint?

Thanks in advance..

]]>
68eb5915332608290b00a5d0d91ac725 Sourabh replied to the discussion How can I change the width / height of an apex:inputField on a VisualForce page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-i-change-the-width-height-of-an-apexinputfield-on-a-visualforce-page/#post-14749 Wed, 27 Jul 2016 14:19:55 +0530 Reply to How can I change the width / height of an apex:inputField on a VisualForce page?

Hi Tanu,

<apex:inputfield> tag contains style element in which you can put styling as you needed.

example: <apex:inputfield value="{!value from controller}" style="height:100px;width:100px">

Thanks..

]]>
6f670d5353aed799ee32795ea2d4d933 Sourabh replied to the discussion Is there any way to can create the profile in the salesforce in apex test class. How? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-there-any-way-to-can-create-the-profile-in-the-salesforce-in-apex-test-class-how/#post-14748 Wed, 27 Jul 2016 14:06:38 +0530 Reply to Is there any way to can create the profile in the salesforce in apex test class. How?

Hi Mohit,

You cannot create profiles in apex code, either through tests or otherwise, this is presumably a security limitation.

Thanks

]]>
7fb2d080344c3020311746cbf30da371 Sourabh replied to the discussion How to show PickList field as Radio Buttons on Visualforce Page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-show-picklist-field-as-radio-buttons-on-visualforce-page/#post-14613 Mon, 25 Jul 2016 12:17:43 +0530 Reply to How to show PickList field as Radio Buttons on Visualforce Page?

Hi Tanu,
Try this code , Hope so it will be helpful for you..
public List<SelectOption> getTypes(){
Schema.sObjectType sobject_type = customObject__c.getSObjectType();

Schema.DescribeSObjectResult sobject_describe = sobject_type.getDescribe();

Map<String, Schema.SObjectField> field_map… Read more

]]>
d21dd73982ed155d35a2b6ef94f33950 Sourabh replied to the discussion How can we get the distinct account name of account object on Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-get-the-distinct-account-name-of-account-object-on-salesforce/#post-14611 Mon, 25 Jul 2016 06:59:22 +0530 Reply to How can we get the distinct account name of account object on Salesforce?

Hi Mohit,

Giving you the code for getting distinct Account name using 'set'...

List<Account> acclist = new List<Account>();

Set<String> setName = new Set<String>();

acclist = [select id,Name other fields from Account] ;

for (Integer i = 0; i< acclist.size(); i++)

{

setName.add(acclist[i].Name); // It will contains… Read more

]]>
6ad0da723ea97c80968ad1bab8576c11 Sourabh replied to the discussion Is there any way to perform arithematic operation using Apex tags on page itself? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-there-any-way-to-perform-arithematic-operation-using-apex-tags-on-page-itself/#post-14610 Mon, 25 Jul 2016 05:55:54 +0530 Reply to Is there any way to perform arithematic operation using Apex tags on page itself?

Hi Mohit,

For performing arithematic operations on page itself you can use javascript/jquery or there is an apex tag named 'Apex:variable' which can be very handy for performing simple arithematic operations on visual force pages.

Thanks

]]>
03a17136d5a8fff47bf707cdc3643554 Sourabh replied to the discussion Is there any way to perform DML operation on external database and how? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-there-a-way-to-perform-dml-operation-on-external-database-and-how/#post-14609 Mon, 25 Jul 2016 05:52:55 +0530 Reply to Is there any way to perform DML operation on external database and how?

Hi Mohit,

For performing DML operations on external systems, first you have to integrate with that system. You can use either REST api or SOAP api to integrate with external system.

After successfully integration you can perform the DML operations.

Thanks

]]>
88ccf684d1d1d68fde642a36211347d3 Sourabh replied to the discussion How can I show report or dashboard on vf page? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-i-show-report-or-dashboard-on-vf-page/#post-14466 Wed, 20 Jul 2016 11:18:55 +0530 Reply to How can I show report or dashboard on vf page?

Hi Pranav,
If you want to add standard reports/dashboards to a VF page, you have to use iframe for it.
You can set the source of the iframe to the URL of your report/dashboard.

eg.
<apex:page >
<apex:iframe src="url of your report/dashboard" scrolling="true" id="theIframe"/>
</apex:page>

Thanks

]]>
36ba5231f59cc08b14d9b24b69c86d54 Sourabh replied to the discussion How can we write a such apex controller class which can be used by multiple vf pages on requirement? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-write-a-such-apex-controller-class-which-can-be-used-by-multiple-vf-pages-on-requirement/#post-14432 Tue, 19 Jul 2016 13:11:41 +0530 Reply to How can we write a such apex controller class which can be used by multiple vf pages on requirement?

Hi Shekar,

Actually i have written it incorrect, sorry for that.

If you are not using StandardController do:-

<apex:page controller=”ControllerName”>

Thanks.

]]>
ee3808c2f5f2b470216b8f69ea8c7ea7 Sourabh replied to the discussion How to create a vf page automatically on creation of Account? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-create-a-vf-page-automatically-on-creation-of-account/#post-14431 Tue, 19 Jul 2016 13:06:53 +0530 Reply to How to create a vf page automatically on creation of Account?

Hi Shekhar,
I am providing you an example of Dynamic Page creation using ApexTooling Api.

*Here i have created a vf page in which the object name is entered(custom/standard) on entering object name in input field & clicking on 'create page', a page is been created dynamically refrencing to the object in StandardController.

* Make sure you… Read more

]]>
cdc02b653e1991bca86d34d1b5a71c0e Sourabh replied to the discussion How can I get multi functionality of two buttons in single button using controller extensions? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/any-ideas-on-how-i-can-get-multi-functionality-of-two-buttons-in-single-button-using-controller-extensions/#post-14426 Tue, 19 Jul 2016 09:15:10 +0530 Reply to How can I get multi functionality of two buttons in single button using controller extensions?

Hi Pranav,

You can use 'action' and 'onclick' respectively on a single button click.
For eg.
<apex:commandButton action="{!savePDF}" onclick="CaptureSignature();" value="Save" id="theButton" />
This command button doing two different functionality on a single click ie. saving pdf as well as capturing signature.

Thankyou

]]>
5b5da432014f75b014c038ae1ddc731a Sourabh replied to the discussion How can we write a such apex controller class which can be used by multiple vf pages on requirement? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-we-write-a-such-apex-controller-class-which-can-be-used-by-multiple-vf-pages-on-requirement/#post-14425 Tue, 19 Jul 2016 09:07:57 +0530 Reply to How can we write a such apex controller class which can be used by multiple vf pages on requirement?

Hi Tanu,

A single apex controller can be used for multiple VisualForce pages as per need. You just have to give the reference of the controller in your page.

If you are using StandardController do like this:-

<apex:page Standardcontroller="Account" extensions="ControllerName">

If you are not using StandardController… Read more

]]>
cde943cf6724d893a6f9071f3af680a9 Sourabh replied to the discussion How to create a vf page automatically on creation of Account? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-to-create-a-vf-page-automatically-on-creation-of-account/#post-14424 Tue, 19 Jul 2016 09:00:10 +0530 Reply to How to create a vf page automatically on creation of Account?

Hi Tanu,

*For this you have to create a class using ApexTooling Api which create page dynamically. It can be done using REST Api callout used in Tooling Api.
*After this you have to create a trigger which calls the class after insertion of Account.

Thankyou

]]>
b885f31cea68db5b2aa2a7408057b089 Sourabh replied to the discussion Is there any limitation on adding number of screens in flows? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/is-there-any-limitation-on-adding-number-of-screens-in-flows/#post-14387 Mon, 18 Jul 2016 09:00:44 +0530 Reply to Is there any limitation on adding number of screens in flows?

Hello Tanu,

For the governer limits for flows in salesforce you can visit:- https://help.salesforce.com/apex/HTViewHelpDoc?id=vpm_admin_flow_limits.htm

]]>
da5312e42079843b3e5c274b166483c3 Sourabh replied to the discussion Can I set permission set on the Custom Object in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-i-set-permission-set-on-the-custom-object-in-salesforce/#post-14334 Fri, 15 Jul 2016 14:27:10 +0530 Reply to Can I set permission set on the Custom Object in Salesforce?

Yes you can set permission set on the Custom Object in Salesforce.
1. Go to permission sets.
2. Click on permission set for which object settings should be saved.
3. Go to Object settings, here you will find the objects created in your org.
4. Click on the object(standard/custom) you want to change and edit it.

Thankyou

]]>
843a9a7b4f5af9386acfc38fb30bd148 Sourabh replied to the discussion Disable commandButton after first click to prevent double submission in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/disable-commandbutton-after-first-click-to-prevent-double-submission/#post-14325 Fri, 15 Jul 2016 13:47:44 +0530 Reply to Disable commandButton after first click to prevent double submission

You can use javascript for disabling button after the click. Here is a piece of code for that.

<apex:commandButton value="Submit" id="Submit" onClick="SubmitOnClick(this);" />

<apex:actionFunction name="doSubmit" action="{!Submit}" />
</apex:form>

<script language="Javascript">
function SubmitOnClick (objSubmitBtn) {
objSubmitBtn.disabled… Read more

]]>
5a511de4af6057e27c7b19268d814b5f Sourabh replied to the discussion Where a link may open on lightning app as its a one page app? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/where-a-link-may-open-on-lightning-app-as-its-a-one-page-app/#post-14324 Fri, 15 Jul 2016 12:30:30 +0530 Reply to Where a link may open on lightning app as its a one page app?

You would do this using the e.force:navigateToComponent method. Try this

In your markup

<ui:button label="ATTENDANCE" press="{!c.navigateToRollCall}"/>

In your controller, do something like

navigateToRollCall : function(component, event, helper) {

var evt =… Read more

]]>
5f4e314f741e817337847540a5182d62 Sourabh replied to the discussion Permission set is assigned to user, how does it assign to a particular profile not user in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/permission-set-is-assigned-to-user-how-does-it-assign-to-a-particular-profile-not-user/#post-14323 Fri, 15 Jul 2016 10:52:48 +0530 Reply to Permission set is assigned to user, how does it assign to a particular profile not user in Salesforce?

Hi Pranav,

The permission sets can only be assigned at a user level.

For more information you may check this link:- https://success.salesforce.com/answers?id=90630000000ggufAAA

Thankyou

]]>
30d1a702985c9a270e13c87fd686a891 Sourabh replied to the discussion How we can we migrate the profile setting of one org to the another profile in another org? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-we-can-we-migrate-the-profile-setting-of-one-org-to-the-another-profile-in-another-org/#post-14315 Fri, 15 Jul 2016 10:28:27 +0530 Reply to How we can we migrate the profile setting of one org to the another profile in another org?

Hi Mohit,
You cannot send profile settings directly to another org. For this you have to choose the component and the profile simentaneously if you want that the particular profile for the component will be added automatically while sending it to another org.
For change set:-
1. Add 'Change Set Components'.
2. From 'Profile Settings For… Read more

]]>
d57c2441d6c36ac6757d9d680e1d0987 Sourabh started the discussion Create Content Distribution in the forum https://www.forcetalks.com/salesforce-topic/create-content-distribution/ Thu, 09 Jun 2016 08:19:48 +0530 Create Content Distribution

Hi all,

I am creating Content Distribution in performance edition of salesforce but every time it's throwing an error i.e 'Entity is not org-accessible'.

Does anyone know how to resolve this issue?

Thanks

]]>
d57c2441d6c36ac6757d9d680e1d0987 Sourabh started the discussion Create Content Distribution in the forum https://www.forcetalks.com/salesforce-topic/create-content-distribution/ Thu, 09 Jun 2016 08:19:48 +0530 Create Content Distribution

Hi all,

I am creating Content Distribution in performance edition of salesforce but every time it's throwing an error i.e 'Entity is not org-accessible'.

Does anyone know how to resolve this issue?

Thanks

]]>
62728b92c2028c084babf32557b19b89 Sourabh started the discussion Create Content Distribution in the forum https://www.forcetalks.com/salesforce-topic/create-content-distribution/ Thu, 09 Jun 2016 08:19:48 +0530 Create Content Distribution

Hi all,

I am creating Content Distribution in performance edition of salesforce but every time it's throwing an error i.e 'Entity is not org-accessible'.

Do anyone know how to resolve this issue?

Thanks

]]>
38d32cd71cfa48f548c6bd3026233fd8 Sourabh started the discussion How to Perform Arithmetic Operations on Visualforce Page? in the forum https://www.forcetalks.com/salesforce-topic/arithematic-operation-on-page/ Mon, 02 May 2016 05:02:01 +0530 How to Perform Arithmetic Operations on Visualforce Page?

Hi all,

Is there any possible way to do an arithmetic operation like add or subtract on Visualforce page itself without using javascript or apex class?

Thanks

]]>
38d32cd71cfa48f548c6bd3026233fd8 Sourabh started the discussion How to Perform Arithmetic Operations on Visualforce Page? in the forum https://www.forcetalks.com/salesforce-topic/arithematic-operation-on-page/ Mon, 02 May 2016 05:02:01 +0530 How to Perform Arithmetic Operations on Visualforce Page?

Hi all,

Is there any possible way to do an arithmetic operation like add or subtract on Visualforce page itself without using javascript or apex class?

Thanks

]]>
38d32cd71cfa48f548c6bd3026233fd8 Sourabh started the discussion How to Perform Arithmetic Operations on Visualforce Page? in the forum https://www.forcetalks.com/salesforce-topic/arithematic-operation-on-page/ Mon, 02 May 2016 05:02:01 +0530 How to Perform Arithmetic Operations on Visualforce Page?

Hi all,

Is there any possible way to do an arithmetic operation like add or subtract on Visualforce page itself without using javascript or apex class?

Thanks

]]>
d68c80edf641ad58ce620841f35c01fc Sourabh started the discussion How to Perform Arithmetic Operations on Visualforce Page? in the forum http://www.forcetalks.com/salesforce-topic/arithematic-operation-on-page/ Mon, 02 May 2016 05:02:01 +0530 How to Perform Arithmetic Operations on Visualforce Page?

Hi all,

Is there any posiible way to do arithematic operation like add or subtract on visualforce page itself without using javascript or apex class?

Thanks

]]>
cfe610f756a92a990f2ed1431b43a38e Sourabh started the discussion How to create customer community in Dev org? in the forum https://www.forcetalks.com/salesforce-topic/creating-customer-community-in-dev-org/ Mon, 02 May 2016 05:01:11 +0530 How to create customer community in Dev org?

Hi all,

I need to create a customer community in my dev org. Do anyone had workaround for it?

Thanks

]]>
cfe610f756a92a990f2ed1431b43a38e Sourabh started the discussion How to create customer community in Dev org? in the forum https://www.forcetalks.com/salesforce-topic/creating-customer-community-in-dev-org/ Mon, 02 May 2016 05:01:11 +0530 How to create customer community in Dev org?

Hi all,

I need to create a customer community in my dev org. Do anyone had workaround for it?

Thanks

]]>
c4c8e48b730774617b199d98b2e7747b Sourabh started the discussion How to create customer community in Dev org? in the forum http://www.forcetalks.com/salesforce-topic/creating-customer-community-in-dev-org/ Mon, 02 May 2016 05:01:11 +0530 How to create customer community in Dev org?

Hi all,

I need to create a customer community in my dev org. Do anyone had workaround for it?

Thanks

]]>
e0e21067194b237cdaa2e8126c0686a7 Sourabh started the discussion Change picklist according to Formula field. in the forum https://www.forcetalks.com/salesforce-topic/change-picklist-according-to-formula-field/ Mon, 02 May 2016 05:00:31 +0530 Change picklist according to Formula field.

Hi all,
I need to change picklist value automatically without any editing on the record whenever my formula field changes. My formula field shows 'Active' & 'Inactive' Status , so i need whenever my formula changes to Active picklist will change to Active and vice versa.

Thanks

]]>
f7c9488d5b2d6779f6c59f915dbdef13 Sourabh started the discussion Change picklist according to Formula field. in the forum http://www.forcetalks.com/salesforce-topic/change-picklist-according-to-formula-field/ Mon, 02 May 2016 05:00:31 +0530 Change picklist according to Formula field.

Hi all,
I need to change picklist value automatically without any editing on the record whenever my formula field changes. My formula field shows 'Active' & 'Inactive' Status , so i need whenever my formula changes to Active picklist will change to Active and vice versa.

Thanks

]]>
397af740bff7957e7b512a20754bc7f0 Sourabh replied to the discussion How can I use Custom Pagination in Salesforce? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/how-can-i-use-custom-pagination-in-salesforce/#post-9907 Thu, 14 Apr 2016 08:10:32 +0530 Reply to How can I use Custom Pagination in Salesforce?

Hi Shubham ,

Giving you an example of custom pagination, hope it will help:-

VisualForce Page:-

<apex:page controller=”Pagination” sidebar=”false” showHeader=”false”>
<apex:form >
<apex:pageBlock id=”details”>
<apex:pageblockTable value=”{!acclist}” var=”acc”>
<apex:column value=”{!acc.Name}”/>
<apex:column… Read more

]]>
dfabebfbe8e18fcfff62e37b54550a6c Sourabh replied to the discussion How can I use Custom Pagination in Salesforce? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/custom-pagination-in-salesforce/#post-9907 Thu, 14 Apr 2016 08:10:32 +0530 Reply to How can I use Custom Pagination in Salesforce?

Hi Shubham ,

Giving you an example of custom pagination , hope it will help :-

VisualForce Page:-

<apex:page controller=”Pagination” sidebar=”false” showHeader=”false”>
<apex:form >
<apex:pageBlock id=”details”>
<apex:pageblockTable value=”{!acclist}” var=”acc”>
<apex:column value=”{!acc.Name}”/>
<apex:column… Read more

]]>
765c69d992c5b1c5c400c3c82d922ad6 Sourabh started the discussion Make Document accessible outside salesforce. in the forum http://forcetalks.com/salesforce-topic/make-document-accessible-outside-salesforce/ Thu, 14 Apr 2016 07:52:08 +0530 Make Document accessible outside salesforce.

I have some images stored in my Documents. I want to create a link of particular image which i can access outside salesforce.
I am able to create the link but every time i am opening the link it takes me to salesforce login page.

]]>
765c69d992c5b1c5c400c3c82d922ad6 Sourabh started the discussion Make Document accessible outside salesforce. in the forum http://forcetalks.com/salesforce-topic/make-document-accessible-outside-salesforce/ Thu, 14 Apr 2016 07:52:08 +0530 Make Document accessible outside salesforce.

I have some images stored in my Documents. I want to create a link of particular image which i can access outside salesforce.
I am able to create the link but every time i am opening the link it takes me to salesforce login page.

]]>
019064d2d841fb30ba7f2f1fedb17bb9 Sourabh replied to the discussion Can we create bar chart in lightning component? in the forum Salesforce® Discussions https://www.forcetalks.com/salesforce-topic/can-we-create-bar-chart-in-lightning-component/#post-9818 Thu, 14 Apr 2016 06:44:08 +0530 Reply to Can we create bar chart in lightning component?

Yes sure

There is an app (Chart.js) on AppExchange. Install it in your environment and you are ready to create charts in lightning component. Link for App is provided:-

(https://appexchange.salesforce.com/listingDetail?listingId=a0N30000000q5ADEAY)

]]>
357cbcfc667521704962f29afa092868 Sourabh replied to the discussion Can we create bar chart in lightning component? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/can-we-create-bar-chart-in-lightning-component/#post-9818 Thu, 14 Apr 2016 06:44:08 +0530 Reply to Can we create bar chart in lightning component?

Yes sure

There is an app(Chart.js) on AppExchange. Install it in your environment and you are ready to create charts in lightning component. Link for App is provided:-

(https://appexchange.salesforce.com/listingDetail?listingId=a0N30000000q5ADEAY)

]]>
1925b92f663676451099f778238f67ab Sourabh replied to the discussion Calculation on Visualforce Page without using Controller in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/calculation-on-visualforce-page/#post-9816 Thu, 14 Apr 2016 06:39:28 +0530 Reply to Calculation on Visualforce Page without using Controller

Hi Gaurav,

Another method to calculate total of your field is by using <apex:variable>.

For example i am displaying my field in <apex:repeat>. Then i will use apex variable like this:-

<apex:variable var="i" value="{!0.00}"/>
<Table>
<apex:repeat value="{!Value}" var="item">
<tr>
<td> {!item.FieldName}
<apex:variable… Read more

]]>
5205255492f0442a429981d78300d782 Sourabh posted a new post. https://www.forcetalks.com/?p=9665 Thu, 14 Apr 2016 06:17:44 +0530
APACHE ANT SCRIPT

APACHE ANT is a command-line tool based on java use for transferring metadata components between two salesforce organization and local directory. Steps for Installation: 1.…

]]>
c07866e30e64c41b17105b5b0d164bcb Sourabh replied to the discussion How we can show data list in Mozilla Firefox? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/java-script/#post-9782 Thu, 14 Apr 2016 04:26:49 +0530 Reply to How we can show data list in Mozilla Firefox?

Hi Shalini,

Giving you an example of DataList:-

<apex:page >
<label>Choose a browser from this list:
<input list="browsers" name="myBrowser" /></label>
<datalist id="browsers">
<option value="Chrome"/>
<option value="Firefox"/>
<option value="Internet Explorer"/>
<option value="Opera"/>
<option value="Safari"/>
<option… Read more

]]>
a7aace064a95c2af6f22a408a1470bcd Sourabh started the discussion Loop Syntax in jQuery in the forum https://www.forcetalks.com/salesforce-topic/loop-syntax-in-jquery/ Wed, 13 Apr 2016 08:17:08 +0530 Loop Syntax in jQuery

jQuery 3.0 is the most newest version of jQuery. There are many changes in it, but one of the important change
is the syntax of loop using for..of loop.

For example earlier we use the syntax shown below:-

var $divelements = $("div");
for (var x=0; x< $divelements.length; x++){
$divelements[x].addClass("dummy");
}

Here's the new… Read more

]]>
c40626ed1db619da881f7b6ac692a8f9 Sourabh started the discussion Loop Syntax in jQuery in the forum http://www.forcetalks.com/salesforce-topic/loop-syntax-in-jquery/ Wed, 13 Apr 2016 08:17:08 +0530 Loop Syntax in jQuery

jQuery 3.0 is the most newest version of jQuery. There are many changes in it, but one of the important change
is the syntax of loop using for..of loop.

For example earlier we use the syntax shown below:-

var $divelements = $("div");
for (var x=0; x< $divelements.length; x++){
$divelements[x].addClass("dummy");
}

Here's the… Read more

]]>
a7aace064a95c2af6f22a408a1470bcd Sourabh started the discussion Loop Syntax in jQuery in the forum http://forcetalks.com/salesforce-topic/loop-syntax-in-jquery/ Wed, 13 Apr 2016 08:17:08 +0530 Loop Syntax in jQuery

jQuery 3.0 is the most newest version of jQuery. There are many changes in it, but one of the important change
is the syntax of loop using for..of loop.

For example earlier we use the syntax shown below:-

var $divelements = $("div");
for (var x=0; x< $divelements.length; x++){
$divelements[x].addClass("dummy");
}

Here's the new… Read more

]]>
ce94a660623ae9db68c5ee685ecfa814 Sourabh started the discussion Loop Syntax in jQuery in the forum http://forcetalks.com/salesforce-topic/loop-syntax-in-jquery/ Wed, 13 Apr 2016 08:17:08 +0530 Loop Syntax in jQuery

jQuery 3.0 is the most newest version of jQuery. There are many changes in it, but one of the important change
is the syntax of loop using for..of loop.

For example earlier we use the syntax shown below:-

var $divelements = $("div");
for (var x=0; x< $divelements.length; x++){
$divelements[x].addClass("dummy");
}

Here's the new… Read more

]]>
ce94a660623ae9db68c5ee685ecfa814 Sourabh started the discussion Loop Syntax in jQuery in the forum http://forcetalks.com/salesforce-topic/loop-syntax-in-jquery/ Wed, 13 Apr 2016 08:17:08 +0530 Loop Syntax in jQuery

jQuery 3.0 is the most newest version of jQuery. There are many changes in it, but one of the important change
is the syntax of loop using for..of loop.

For example earlier we use the syntax shown below:-

var $divelements = $("div");
for (var x=0; x< $divelements.length; x++){
$divelements[x].addClass("dummy");
}

Here's the new… Read more

]]>
19d11793f41ba94de325483d2f3dee0c Sourabh replied to the discussion How to select all checkboxes of wrapper list on vf page using jquery? in the forum Salesforce® Discussions http://forcetalks.com/salesforce-topic/lect-all-checkboxes-of-wrapper-list-on-vf-page-using-jquery/#post-9738 Wed, 13 Apr 2016 04:11:06 +0530 Reply to How to select all checkboxes of wrapper list on vf page using jquery?

Console shows "missing attr" only if you have not included jquery.  The .prop() method gets the property value for only the first element in the matched set. You can use .prop() as a replacement of .attr() in your case.

]]>
729ce7ad8480ff22f24d0f816a116f97 Sourabh started the discussion How can I add styling in my Pdf page? in the forum https://www.forcetalks.com/salesforce-topic/using-word-wrap-in-pdf/ Tue, 12 Apr 2016 07:57:35 +0530 How can I add styling in my Pdf page?

How can I add styling in my Pdf page? Need word wrapping for the particular column in a table.

]]>
8b376cae27ec46ee12e23b5e39cc2bd8 Sourabh started the discussion How can I add styling in my Pdf page? in the forum http://forcetalks.com/salesforce-topic/using-word-wrap-in-pdf/ Tue, 12 Apr 2016 07:57:35 +0530 How can I add styling in my Pdf page?

How can i add styling in my Pdf page? Need word wrapping for the particular column in a table.

]]>