Reorder Content Fragments to change the order in React Native App. | Adobe Higher Education
Skip to main content
iamnjain
Community Advisor
Community Advisor
April 20, 2023
Resuelto

Reorder Content Fragments to change the order in React Native App.

  • April 20, 2023
  • 1 respuesta
  • 882 visualizaciones

Hello All,


I am just wondering about solution for one POC task, where we have component specific CFs for React Native App. Now we need to define the order of Components to render on app UI and want to make it configurable in AEM Touch UI for authors. So authors can change the order and order of UI components on App changes instantly.


Is there a way?

Need your suggestions if someone implemented this.

 

 

 

@arunpatidar @saravanan_dharmaraj lukasz-m @briankasingli 

Este tema ha sido cerrado para respuestas.
Mejor respuesta de arunpatidar

Hi @iamnjain 
I think the reordering won't be possible since the Content Fragment is based on Model which has the fix ordering.

I am not sure what it will bring if you do reordering. You are going to expose the CF as json and json properties can be read in any order.

 

Inside multifield, it is possible to do reordering.

 

Please let us know the use case to better understand the problem/solution.

1 respuesta

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorRespuesta
Community Advisor
April 20, 2023

Hi @iamnjain 
I think the reordering won't be possible since the Content Fragment is based on Model which has the fix ordering.

I am not sure what it will bring if you do reordering. You are going to expose the CF as json and json properties can be read in any order.

 

Inside multifield, it is possible to do reordering.

 

Please let us know the use case to better understand the problem/solution.

Arun Patidar