I have included an inline page which has inline edits in a Visualforce page. The inline page uses sforce.console.openSubtab. When I comment this code inline edit on the page where it is included works fine. If I uncomment it it does not work. Is there a relation between Custom tabs and open subtabs for console?? please help.

  function testOpenSubtab()
  var openSubtab = function openSubtab(result)
           var primaryTabId = result.id;
           sforce.console.openSubtab(primaryTabId, url + '&primaryTabId=' +   primaryTabId, true, subTabName, null, true, tabId);

Here is the code inlinedit

<apex:outputfield value="{!favExtObj.favoriteObj.Label__c}"
      rendered=" {!if((favExtObj.isLabelEditable && editable),true,false)}">
      <apex:inlineEditSupport  showOnEdit="saveButton, cancelButton"  
  • You might be getting a JavaScript error, look at console. – Raul Mar 1 '17 at 3:09
  • You mean to check for error message in console? Can't I check in debug log?I don't see any errors when page is displayed – SFDC Mar 1 '17 at 13:05
  • It could be some JavaScript issue, so asking to check in chrome developer tools – Raul Mar 1 '17 at 14:22

Looks like something is disabling inlineedit functionality. Can you post the piece of code where you use inlineedit?

  • I posted the code – SFDC Mar 26 '17 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.