• Paras @ E7
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 2
    Questions
  • 1
    Replies
Hello everyone, I am trying to automate ui testing for screen flow, however screen flow does not give proper unique locator and also I am unable to debug its databinding in browser console. Any idea how to achieve it ?
Hi everyone Please help me.
I have an object called Calibration with a picklist field called status having values 'open', 'in-progress', complete','close'. open is the default value for the status field. Now I created a record with status close. When I clone the record with standard clone button, it cloned the record with status close. But the record should have open status as it is the default value. The Same process works fine in classic mode i.e cloned record has open status value but having the problem in lightning mode.
There have been a few posts about making fields show as required (little red bar):
* http://community.salesforce.com/sforce/board/message?board.id=Visualforce&thread.id=2419
* http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=1254

in which SF folks say that in order to make the bar appear, just use an inputField element, and make the field required in your field definitions.

Fair enough, that seems to work most of the time.

However, in my current project I've got a custom object, and the Name field is included on a VF page.  And I'm using an inputField element, but it's not showing the red bar.  And moreover, if I leave the field blank, it gets filled in somehow with the ID of the record, rather than throwing an error.

I thought Name fields were required by definition.  If I edit the record in the standard layout, I get the red bar and leaving the Name blank throws an error.

I'm using the standard controller (with an extension).  Is this a bug?

Thanks much!
  • August 12, 2008
  • Like
  • 1
There have been a few posts about making fields show as required (little red bar):
* http://community.salesforce.com/sforce/board/message?board.id=Visualforce&thread.id=2419
* http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=1254

in which SF folks say that in order to make the bar appear, just use an inputField element, and make the field required in your field definitions.

Fair enough, that seems to work most of the time.

However, in my current project I've got a custom object, and the Name field is included on a VF page.  And I'm using an inputField element, but it's not showing the red bar.  And moreover, if I leave the field blank, it gets filled in somehow with the ID of the record, rather than throwing an error.

I thought Name fields were required by definition.  If I edit the record in the standard layout, I get the red bar and leaving the Name blank throws an error.

I'm using the standard controller (with an extension).  Is this a bug?

Thanks much!
  • August 12, 2008
  • Like
  • 1