Expand my Community achievements bar.

SOLVED

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

Avatar

Community Advisor

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 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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