Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [case-object]

Represents a case, which is a customer issue or problem.

0
votes
1answer
13 views

getting error while fetching id from list button url

I have created a list button which is mapped to vf page /apex/NewProblem, This button i made visible on case related list of problem object. So whenever i remove the id from button url it is showing ...
0
votes
1answer
12 views

getting recursion for Salesforce 2 Salesforce Integration using REST API in Case object

I am doing salesforce to salesforce integration between two orgs using REST API. I created REST API classes in two different org that update/insert/delete records. Insert and Delete works fine. But in ...
0
votes
1answer
32 views

How to Merge two listview of Case object? [closed]

I want to merge case object's listview. Where i want to see cases of both listview.
0
votes
2answers
29 views

Hide field on Case Create Page

I have a datetime field on my case object that gets set by a trigger based upon the value selected in another lookup field on my case. I need this field to display on the case details once the case ...
1
vote
1answer
190 views

Calculate time spent on each stage on case record and report it [duplicate]

I want to report on time spend on each stage on a case (created to its closed). I believe i have to first create a formula field on case object which can show time stamp (days,hours and mins) , it ...
0
votes
1answer
282 views

How to clone a Case as a child case with particular record type

I am trying to create a clone as a child case with different record type but when I clone it it it taking parent case's record type. my code is: /{!Case.Id}/e?clone=1&cas5=CAR&cas28={!Case....
0
votes
2answers
33 views

Case assignment logic

Where can I possibly find logic which is changing the case owner to the present user to a queue? will it be in trigger or some assignment rules? I have checked with assignment rules it doesn't have ...
0
votes
0answers
52 views

How to get clicked record ID in listview

In SC Console, I want to capture the ID of clicked link. For ex: User clicks on Case Number or Subject. I am using a click event as below: ListViewport.prototype.extHandler.click = function(a) { ...
0
votes
2answers
59 views

Date to stop calculating after certain time

I have a situation,just an admin here. we have Expected finish date which is a formula field that gets calculated based on SLA days which is defined as no of days to close the case. I am trying to ...
1
vote
1answer
503 views

Hide/Show Fields when Picklist value is selected in Case and have separate views for each type of Case

I'm fairly new to Salesforce and Apex. From the research I have done, I am under the impression that the solution I need is not an easily achievable one and I will have to create a VF page. I would ...
0
votes
0answers
24 views

Edit Case from Sites

I created a VF and a controller to edit few fields on case object. It is working fine when I preview it and pass the case Id, But when I open it from the site the input texts are gone. I am able to ...
0
votes
2answers
603 views

Complete Case Milestone

I have a scenario where multi level escalation works. I.E. when a case is escalated it escalates to the owner's manager and again, it escalates to the manager's manager. After the first escalation i'...
1
vote
1answer
351 views

Case Milestone fields are not visible in lightning

As per Salesforce Winter ’17 Release Notes most of the Case Mile Stone fields are Available in both: Salesforce Classic and Lightning Experience. But I am not able to see Milestone Status Icon & ...
0
votes
1answer
39 views

Cloned Profile can't create Cases, despite identical permissions

I cloned one of our existing profiles. With the cloning, the new profile can't cases. It receives the error: We couldn't find the record you're trying to access. It may have been deleted by another ...
0
votes
1answer
54 views

Cases in salesforce

What is the best categorization of cases for standard salesforce object. Our users file case in salesforce but we always have vague inquiries and we end up reaching back to customer fetching more ...
1
vote
1answer
25 views

System Admin not able to view cases created by Community Portal Users

This is silly to ask but I have run out of options to resolve this. Somehow, System Admins are not able to view the cases created by Community Portal Users. They can view every other case In ...
0
votes
1answer
387 views

Case Reason on Case Close layout

Salesforce has just one Case Reason field to show on case creation and case closure layouts. I think it makes senses to show different set of values during closure. I did some research and found that ...
0
votes
2answers
114 views

Can the “Change Case Owner” save screen be bypassed when creating button to change the owner to “self”?

I'm looking to replace an "Assign to Myself" button at the case object. I inherited an org and the initial button was created using Custom S-Control. This button creates an error when used with the ...
12
votes
3answers
6k views

Actions on Case object in Lightning

I have created a lightning component and assigned it to a custom case action. How to add this action to header near standard buttons. I have added the action in Salesforce1 and Lightning Experience ...
1
vote
0answers
235 views

autoclose popup window on a custom button after clicking “Save” [closed]

I have implemented a custom Javascript button called "Send Email" under Activity history. When a user clicks this button a new popup window should open that enables the user to send an e-mail. The JS ...
0
votes
3answers
390 views

Adding case history to the Case object

I have seen case history as related list on the contact record. I would like to know how we can add the case history as related list on the case record.
1
vote
1answer
155 views

Test class failure on Case Object

I'm blocked in creating a Record for PartnerNetworkConnection.I'm getting an error like QueryException: List has no rows for assignment to SObject. Stack Trace: Class.caseForward.forward: line ...
3
votes
1answer
468 views

Adding attachments to VF page for Cases

Tried to enable users to add attachments to a NewCase VF page, but the attachments section is not showing. Here is my code: <apex:page standardController="Case"> <apex:form > <...
0
votes
3answers
2k views

Is it possible to make the case record Read only after a status Update? [closed]

I am trying to find a solution how to make a case record read only if the Case status is equal to closed. Can it be done?
0
votes
0answers
38 views

how to update a case details from web to case based on one field value

I am capturing details from web to case and creating a case. I have one field Employee number.if its already in any case and again when the case is getting capture from web ,then case needs to be ...
0
votes
3answers
30 views

Referencing a list of IDs - Initial term of expression error

I am very new to Apex, and I'm trying to pick up as much as I can. I've worked off some code and written some of my own to eventually send out an email when an attachment is added to a case. I was ...
1
vote
3answers
428 views

Using addError() in before trigger and sending mails

Configured Email-to-case in case object, so whenever email is send to specific address my trigger will check for contact based on supplied email, if not there case should not created email should send ...
0
votes
1answer
1k views

Email notification on customer response to case comment

I want to send an email to the Case Owner if a Customer responds to a case comment via email. Is there any out of the box setting? Or do I need to write a trigger?
3
votes
1answer
66 views

Changing the default User for Action in Case HIstory

I'm newbie to salesforce platform and starting to learn. Currently, we are using salesforce service cloud and have implemented ticketing system and have bunch of things being tracked in case history. ...
1
vote
3answers
696 views

Case Comment - Customer Notification

I have a trigger written which is copying comments from a Custom Object (Timesheet) to the CaseComment object.. I am marking them as 'IsPublished = true' The problem is that email notifications are ...
2
votes
2answers
625 views

Need help on SOQL to query all related child case records

I can query the child cases for current case by something like below, list<case> parentids=trigger.new select id,status from case where parentid=:parentids What if the children have more ...
0
votes
3answers
237 views

There is no record to save error

I have read blogs posted on dev community too but this is not getting resolved. I am creating a custom button to clone the cases. <apex:page standardController="case" extensions="VFController"&...
2
votes
2answers
1k views

Cases relationship in salesforce?

Cases in salesforce are customer’s question or feedback on the service they are providing. Eg. if a company sell a product A. Then A will be added to opportunitylineItem. When we have a problem with ...
0
votes
0answers
323 views

How to create one entitlement for all/multiple accounts?

What is the best practice for creating general entitlement for all/multiple accounts. At the moment, when we create entitlement we need to lookup to account, but what if we want to set up a set of ...
0
votes
1answer
752 views

Email to case Settings - Comments REPLY-TO Address

I was testing case comments, and noticed that every time a case comment is created, the customer gets an email notification about the comment. When the customer replies to that email (comment ...
4
votes
2answers
130 views

Creating Closed Counter for Cases?

Editing a Closed Case will automatically change its status from 'Closed' to 'Pending' and then when the edits are saved, the Case is then 'Closed' again. I would like to create a Counter that counts ...
0
votes
0answers
72 views

New Case Alert triggered when existing Record edited

Anytime a Case's fields are edited, our Salesforce's instance will send out a 'New Case Alert' even though that Case is pre-existing, and a user only edited the record. We have an Email-to-Case ...
0
votes
1answer
61 views

Error in Production :CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, SendEscalationMail: execution of BeforeUpdate

I have a requirement where i need to create a VF page ,Apex controller and test class.If I run the test class on my developer console .I get no errors and the outcome of the test is 100% successfully ...
0
votes
0answers
42 views

Code Coverage is Showing as 95%…But it still throws an Error

I have a requirement where i need to create a VF page ,Apex controller and test class.But when i run the test class ,the code coverage is showing as 95% ,where one method executes and the other it ...
2
votes
2answers
36 views

Test Code Coverage is not getting displayed

Based on the requirement ,we have created a vf page ,apex and test class written.When i run the test class ,the method gets passed but it shows 0 code coverage. I shall appreciate your help. VF ...
0
votes
1answer
478 views

Error as :java.lang.IllegalArgumentException: id 5004B000000qt8r,5004B000000qt8w must be 15 characters

Can any help me out with this Error : java.lang.IllegalArgumentException: id 5004B000000qt8r,5004B000000qt8w must be 15 characters I have a custom button created as "Mass Close" button using ...
0
votes
2answers
264 views

SAVE BUTTON :Selected Cases does not get closed on Save Button ,it Closes all the cases

Can any one help me out on this? I have a created a vf page ,i have been using the standard button functionality SAVE and CANCEL .But the problem is the Save button does not work as per the ...
0
votes
1answer
775 views

Save and Cancel Button not working

Can any one help me out ? As per the requirement , i have created a vf page ,i have been using the standard button functionality SAVE and CANCEL .But the problem is the Save and Cancel button does ...
0
votes
0answers
187 views

Picklist value is not getting displayed

Can anyone help me on this? I have a requirement ,when we click on the closecase button for the closer of single case in that page,we would like to replace the piccoloist data type field as "Reason ...
0
votes
1answer
538 views

Create a Popup window giving a message as select a row

Can any one help me out? I have a requirement ,when we go for Mass closer of cases using the close button .when the user forgets to select the records,then their is a pop up window get displayed with ...
0
votes
1answer
386 views

Error :Could not resolve field 'Comment' from <apex:inputField> value binding '{!Case.Comment}'

Can any one help me out ? Why do i get this Error: Could not resolve field 'Comments' from <apex:inputField> value binding '{!Case.Comments}' in page MassCloseCasesPage. Error: Invalid field ...
0
votes
2answers
615 views

Mass edit option ---Unable to See the Lock and Pencil Icons on the Fields

Can any help me out ? I have a requirement ,to give "Mass Edit " Option for users.I have the "Inline Edit" and "Enhanced list" checked.Basically When we have a the mouse cursor on the "case number" ...
0
votes
1answer
215 views

Override a Standard Button “Mass Close” on Case object to Redirect to a VF page

Can any one help out. I have a requirement on case object for the Mass closer of cases.Since in Mass Close page we don't have an option to replace the field or add a field.To override the standard ...
3
votes
3answers
4k views

Publisher Quick Actions not all Appearing

I am updating the Case page layout and cannot figure why some Quick Actions show up, but others do not. The top image number 1 shows which quick actions I have chosen to add to the page layout. Image ...
2
votes
1answer
337 views

Trouble in using Business hours methods to compare business hours with specific number of hours in apex trigger

I'm trying to compare number of business hours with number of hours (bh<48) I have gone through few methods and tried the below method to get number of hours(difference between startdate and ...