Siebel Developers: UX, Web Tools, Scripting, Integration (MOSC)

MOSC Banner

Is it possible to sort recordSets on the Open UI List Applet based on calculated field value?

Hi Experts,

Thanks in advance.

We have a list column which is based on calculated field and since this column is not sort able, we are thinking to sort using Open UI PM file.

function SelectionChange()

  {

  var recordSet = this.Get("GetRecordSet");

  var len = recordSet.length;

  for (i=0; i < len; i++)

  {

  for(j=0; j < len-1; j++)

  {

  if(recordSet[i]["Validation Status"] > recordSet[j+1]["Validation Status"])

  {

  tempVar = recordSet[j+1];

  recordSet[j+1] = recordSet[i];

  recordSet[i] = tempVar;

  }

  }

  }

  }

This approach is not working. Please help with expert suggestion.

Thanks,

Vinay

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center