All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
3k views

How to get a VF page to save and then close

I'm not trying to do anything really fancy. I just want a save button in a VF page with an extension to close the document after saving it. It doesn't necessarily have to go to a specific page. I ...
user2428's user avatar
  • 187
7 votes
1 answer
582 views

Lookup popover freezing in place

I have a custom Visualforce page that includes a dynamically sized table. The first column in the table is a Lookup to Account. When that value is chosen, some logic is run to populate some of the ...
Michael Welburn's user avatar
1 vote
1 answer
69 views

How do report types correlate to database world?

In Salesforce, we are given 4 report types, and I'm trying to see how they correlate to the database world. I think these are right, but I'm not sure on the joined and matrix reports Tabular --> ...
PartOfTheOhana's user avatar
2 votes
0 answers
130 views

Scheduling a custom report to be sent as a CSV file in an email [duplicate]

Is it possible to send a custom report out as a CSV file using APEX email templates? If so does anyone have the steps to do so? I am new to Salesforce and would appreciate any help. Thank you in ...
Kong's user avatar
  • 21
2 votes
2 answers
4k views

Increment number field by 1 on a daily basis

We're looking to auto increment a number value field on Cases by 1 for every day the case has been open (i.e. auto-increment as long as the case is not closed). What would be the best way to go about ...
Justin Helgerson's user avatar
7 votes
1 answer
2k views

Accumulating workflow outbound message notifications into batches

I have an existing workflow rule on a custom object that fires on create or edit. The criteria looks for changes in specific custom fields. When the criteria are meet the outbound message is sent to a ...
Daniel Ballinger's user avatar
4 votes
1 answer
1k views

Ensuring Test Code Coverage when you have Insufficient Access Rights on an Object

I recently ran into an issue where we installed some Service Cloud pieces in our predominantly Sales Cloud org (including the Public Knowledge Base). This installed a few custom APEX classes and tests....
Michael Welburn's user avatar
1 vote
0 answers
235 views

Preventing Users with the Customer Portal Manager Custom profile from seeing Contact and User records from other Users in their Account

I'm beginning a project where I will have users with the "Customer Portal Manager Custom" license using my Customer Portal. I've noticed that these users are automatically granted read access to the ...
plusplusben's user avatar
3 votes
1 answer
5k views

My team and reports

Quick question on reports. Reports on custom objects have an option to show "my team's custom_object_name" What drives the my team? is it role? can it be something aside from role? if it's important ...
PartOfTheOhana's user avatar
1 vote
1 answer
150 views

Receiving multiple outbound messages for single event

We have set up outbound messaging that is triggered when new accounts are created. It seems that SalesForce is sending us 5 instances of the outbound SOAP message with identical content. Have others ...
slachterman's user avatar
5 votes
1 answer
3k views

Sort Related list on visualforce email template

I have a visualforce email that show all case comments within a case. I'd like to sort the comments by created date (which is one of the columns). How can I achieve that? <messaging:...
Itay B's user avatar
  • 703
8 votes
2 answers
4k views

Can we have a DML not roll back when i use an adderror method?

We have a scenario where in the before insert trigger of object Asset, which looks for a duplicate and if a duplicate is found a record is inserted in the junction table and after the dml is complete, ...
Ganesh's user avatar
  • 809
3 votes
2 answers
143 views

The routing of an email

Just wondering say someone has installed one of you managed packages. Part of this managed packaged emails a email address in your org. Does the path of the email ever leave the force.com cloud? How ...
dublintech's user avatar
  • 4,283
17 votes
3 answers
12k views

apex method for logout from force.com site

I'm using a force.com site and it has a login method that allows you to redirect them to different landing pages from within apex via Site.login(username,password,url). However it appears there is no ...
Phil B's user avatar
  • 5,026
0 votes
1 answer
1k views

Debugging SF API

I'm calling the SF SOAP API from 3rd party system e.g. services/data/v25.0/sobjects/Account/ I'm facing a problem which I would like to debug. How can I debug the API and see what am I being sent?
Dedo's user avatar
  • 5,017
1 vote
2 answers
2k views

Timezone in datetime field in Custom Setting

I have a custom setting of List type and it has got a field of datetime. When I create record for the custom setting and provide value to it. Does salesforce store it as it is without converting it to ...
doga's user avatar
  • 4,575
6 votes
2 answers
2k views

Errors using ISPICKVAL on Visualforce page

I'm trying to use the ISPICKVAL formula on a Visualforce page. I've assumed that doing so is better than just a straight text compare, since it will continue to work after the picklist entries have ...
tomlogic's user avatar
  • 4,471
6 votes
3 answers
5k views

Update custom object after insert trigger

I have created a trigger for a custom object for the event "After Insert" only. When running the test for this trigger the test fails with the following error: System.DmlException: Insert failed. ...
Mattisdada's user avatar
  • 1,081
3 votes
1 answer
1k views

Why does this batch method fail every time?

I am writing a batch method for a client that just updates a couple of field based on the date. I used this example as a guide. Here's my code: global class BatchUpdateFiscalMonth implements ...
Aaron P.'s user avatar
  • 1,687
1 vote
2 answers
783 views

Authenticating Databasedotcom Gem

I am attempting to connect and authenticate a rails app with the databasedotcom gem I am following the tutorial here. But he doesn't mention some of the other considerations that your request must ...
jordan.baucke's user avatar
6 votes
2 answers
4k views

Can we query the info from "Data Management -> Storage Usage" through SOAP API?

Can we query the info from "Data Management -> Storage Usage" through SOAP API? If so how? Actually, I need the count of records in all the objects in the org, and the size. (Also would like to know ...
Sathya's user avatar
  • 3,232
2 votes
4 answers
5k views

Sending Customer Notification (Case Comment) through Apex trigger?

My trigger inserts a case comment when a timecard is entered. I want the case comment to be public and send an email to the case contact. It does make the comment public but doesn't send the contact ...
user988's user avatar
  • 707
1 vote
1 answer
12k views

"Expression cannot be assigned" error

I had a "Variable Does Not Exist" error for currentportfolioId so I thought I'd declare it with public string currentportfolioId {get;set;} but now I'm getting an "Expression cannot be assigned" ...
user2428's user avatar
  • 187
6 votes
1 answer
3k views

TotalRequests Limit exceeded error using force.com IDE

We have a trial org and we currently have 7 developers working on the org. Currently all our developers are getting an error which is TotalRequests Limit exceeded if we use the force.com Ide. Do you ...
Buyan Thyagarajan's user avatar
2 votes
1 answer
561 views

Encountering issues while developing android hybrid mobile app

Hello thanks for looking into this query.My problem is i am stuck here.I followed all instruction to create a hybrid project using the android SDK from here .My problem is i am not able to refer to ...
Mohith Shrivastava's user avatar
1 vote
1 answer
145 views

Replacing DOJO requests with JS Remoting

I'm converting a DOJO page that builds a Dijit Tree with live data from a 3rd party to use JS Remoting as the data source instead of directly calling the API (for security reasons). I've been able to ...
Michael Welburn's user avatar
3 votes
5 answers
4k views

How to report on Multiselect field frequency

When selecting fields in a Multiselect - every combination is counted as a single value in a report. There are some ideas to update that behviour, but I wonder, if anyone has a workaround, where I ...
Saariko's user avatar
  • 5,610
4 votes
3 answers
170 views

How to create that report?

I have a custom object: License with a Number field of: Version (9,10,11...) The License object is a related list ( with Account as Lookup field). I need to create a report, that shows only accounts ...
Saariko's user avatar
  • 5,610
1 vote
2 answers
2k views

Selecting only one value in multi-select picklist?

Can we restrict user to select only one value from multiselect picklist in visualforce. If yes,please let me know the way. Thanks.
Pankaj's user avatar
  • 2,525
8 votes
5 answers
12k views

Timezone issue with Datetime field in salesforce

I have a custom field of type datetime on a custom object. I want to show this field as it is regardless of timezone. As of now, salesforce converts value to user's current timezone while showing on ...
doga's user avatar
  • 4,575
2 votes
1 answer
217 views

Owner of the Case should not be the Approver

I have a scenario where a Case owner who is part of the Approval Queue is able to approve the Case. I want to prevent that from Happening and i am having tough time to Validate that. It seems we ...
Rama Krishna's user avatar
4 votes
2 answers
15k views

Label does not get displayed

I am using a apex:inputField in my vf page. This apex:inputField is in page block with apex:inputField their is also a apex:selectOption, to reduce the space between these 2 fields i put them in a ...
AnuRaj's user avatar
  • 2,482
6 votes
2 answers
4k views

VisualForce page to allow inline editing of EmailTemplate HTML

Thanks for taking a look at my problem. I am building a VisualForce page to email all CampaignMembers associated with a Campaign record. Everything is working except for one little thing: I have an ...
Aaron P.'s user avatar
  • 1,687
6 votes
3 answers
5k views

onchange with Outputfield and inline editing

I have a jquery popup that prompts a response from the user when they change the value of a particular field. This works fine when in edit mode as i can use onchange from apex:inputfield . However, ...
paul's user avatar
  • 1,502
3 votes
1 answer
419 views

Can Chatter Field Tracking settings be enforced/packaged in an ISV product?

In my managed package I have a custom object and I would like to enforce that Chatter field tracking is enabled for some of its fields. Can this be done and how? The custom object is a Project and I ...
Robert Sösemann's user avatar
19 votes
1 answer
2k views

Is there a security risk with JavaScript Remoting, escape = false

Initially I thought the answer to this question was yes, so malicious JavaScript cannot be injected into the page if it is in the response. Yet upon a further look at this question it is a lot harder ...
TehNrd's user avatar
  • 795
3 votes
1 answer
2k views

What's wrong with my Custom Report Type

I am trying to get a report of X-without-Y type kind of report. So I created a Formula field (Number,0) with value of '1' for every Object (Account, Contact, Oppty, etc ) I than created a Custom ...
Saariko's user avatar
  • 5,610
4 votes
1 answer
385 views

Salesforce record id within an org ever recycled / reused

Will a record id within an org ever be recycled / reused. For example, Event with id A is created, then deleted, emptied from recycle bin, years later a new Event is created in the same org, could it ...
pfeilbr's user avatar
  • 281
5 votes
1 answer
5k views

Issue in callout to an external REST service over HTTPS from Salesforce

I have to make callout to an external REST service from salesforce. Service provider has shared an 'HTTPS' endpoint with me. I am able to access the service by simply pasting service endpoint in ...
V J's user avatar
  • 131
2 votes
3 answers
4k views

Transfering content from one library to a new library

I attempting to move content from one library to another in mass. I have come into a snag where I am given an error message. "You do not have the level of access necessary to perform the operation ...
Elliot's user avatar
  • 210
5 votes
1 answer
2k views

Flows calling objects in managed packages

I'm wondering if someone has a best practice / blueprint which works better than the following scenario that I've got myself into: Created a managed package in a D.E. org which contains a Flow ...
Emilio's user avatar
  • 51
1 vote
1 answer
1k views

Track Search Items in Custom VF Search Page

I have built this custom search page for use in our customer portal: I was wondering if there would be a way to track the search terms that are entered. Would like to get an insight for what our ...
samadhi's user avatar
  • 143
11 votes
2 answers
10k views

Rolling back DML operation in Apex method

What is the best way to rollback some changes to the database inside an Apex method? For example, in an Apex method, I insert multiple records (Opportunity / Quote / QuoteLineItems). When I execute ...
jpmonette's user avatar
  • 4,440
9 votes
2 answers
244 views

When does System.ApplicationReadWriteMode apply and what is five minute upgrade?

From the apex docs System.ApplicationReadWriteMode is set to READONLY mode during major platform upgrades. Does this mean that any public sites or webservice/REST methods will continue to work so long ...
Greg Grinberg's user avatar
2 votes
4 answers
4k views

Can we integrate Salesforce with Microsoft Exchange Server?

Am totally unaware about this area, how Microsoft exchange server works. Just wanted to know can we integrate a exchange server using Apex Code? Is it is possible to call the exchange server from a ...
Avidev9's user avatar
  • 5,669
7 votes
7 answers
12k views

what tools can be used to perform automation and performance testing

We have a SFDC application and as a functional tester I would like to know what tools can be used to automate the test scripts. Need to test UI as well as the functional requirements of application. ...
user2517's user avatar
1 vote
2 answers
325 views

Opportunity Dependent Fields

I have 2 controlling fields new_field and stage, and both have thier own dependant fields. When the user clicks on one of those dependancies, they want both sets of dependant fields in a single ...
PartOfTheOhana's user avatar
9 votes
1 answer
5k views

Custom icons in tabs?

I need to add custom icons in my tab. Suppose for home tab i need to include home image. Can we include custom icons in tabs that will be included in Packages?
Pankaj's user avatar
  • 2,525
3 votes
1 answer
2k views

Is the "filtered lookup fields per objects" limit a hard one?

In our software we have a somewhat generic object which is extended by douzens of record types (we tried to somewhat simulate object oriented class extension/inheritance). We now reached the "You ...
Robert Sösemann's user avatar
1 vote
1 answer
389 views

calendar does not work

I have a Vf page with Date field. when i click the calender will display and from where i can choose my date. But it get displayed only fist selection. eg: When i try to select the date for 1st ...
AnuRaj's user avatar
  • 2,482

15 30 50 per page