Activity Forums Salesforce® Discussions How can we disable the inline editing of records in Salesforce?
Tagged:Inline Editing, Salesforce Records, Standard Button
How can we disable the inline editing of records in Salesforce?
Gourav updated 5 years, 7 months ago 2 Members · 2 PostsSalesforce® Discussions- Inline Editing
- Salesforce Records
- Standard Button
Ajit
MemberApril 30, 2016 at 4:34 pmHow can we disable the inline editing of records in Salesforce?
Gourav
MemberJune 1, 2016 at 10:09 amHi,
I was able to disable the InLine Editing after overriding the Edit Button with this code in the s-control<html>
<head>
<script src="/soap/ajax/8.0/connection.js">
</script>
<script>
function init()
{
window.parent.location.href = "{!URLFOR($Action.Donation__c.Edit, Donation__c.Id,[retURL=URLFOR($Action.Donation__c.Edit, Donation__c.Id)], true)}";
}
</script>
</head>
<body onload="init()">
<p> </p>
</body>
</html>When the edit button is clicked the control is transfered to the edit page propoerly, but when I click the save button. The record is saved and the same page is displayed, it does not go back to the details page (with inline editng and edit button) even when I press the cancel button the same page is display as the control is being transfered to the s-control which is transfering back to the edit page, is there some way to disable this on the edit page is displayed..
can i do something like this..
<html>
<head>
<script src="/soap/ajax/8.0/connection.js">
</script>
<script>
function init()
{
if (Page is Detals_Page)
window.parent.location.href = "{!URLFOR($Action.Donation__c.Edit, Donation__c.Id,[retURL=URLFOR($Action.Donation__c.Edit, Donation__c.Id)], true)}";
Else
window.parent.location.href = "{!URLFOR($Action.Donation__c.view , Donation__c.Id,[retURL=URLFOR($Action.Donation__c.view,
}
</script>
</head>
<body onload="init()">
<p> </p>
</body>
</html>
Hope this will help you also.
Log In to reply.
- Public
- All Members
- My Connections
- Only Me
- Public
- All Members
- My Connections
- Only Me
- Public
- All Members
- My Connections
- Only Me
Reply
Subscribe
Popular Salesforce Blogs
Design an Experience To Enterprise Excellence With Salesforce Lightning
A customer dominated economy where we live in; CRM plays a vital role in the maintenance and growth of a business. Now, we are required
Control Salesforce Lightning Tabs With Next & Back Buttons
Hello, In this post, we are going to create a sample lightning component to control <lightning:tab> with Next and Back buttons. In this code we
Salesforce Einstein Voice Stop typing and start Selling!
Imagine each of your Sales reps had a personal assistant who could handle monotonous and boring tasks while your Sales reps stay focused on their
Popular Salesforce Videos
How to Set Up Salesforce Knowledge in Service Cloud
Help your customers and agents find answers they are searching for faster with Salesforce Lightning Knowledge. In this video, we will review: - All components
How to Learn Salesforce in easy step by step and get certified
From Salesforce instructor, Become aSalesforce Expert. Learn Salesforce step by step and get certified easily.
Process Builder or Apex Triggers - Choosing Between Salesforce Automation Tools
The Salesforce Platform offers several means to operate in the background: Process Builder, Triggers, Flow, Workflows, and more. With so many robust options, it can