function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Adil_SFDCAdil_SFDC 

Display order of Documents in Integration

Hi All 

 

I have an issue with ordering Documents on to VF Page.  I am getting documents from an external website through integration.I am parsing them using JSON.

The fields parsed through JSON are "TITLE" and "ID"

The order in which it is displayed is (1,2,3,4,5)

It should be displayed as (5,4,3,2,1)

 Once the documents are displayed on the VF Page I can do sort function.

But the requirement is these documents should be displayed as Most recent created document on the top. 

 

Please help

 

Adil