18
Views
8
Comments
Solved
New value
Question
Application Type
Reactive

Hello, In this PhotoØŒ I need to show the past value and the present.. 

Ex : change Amman to Ammon... 

Old value _Amman 

New value _Ammon


Or


Old value - - binary data 

New value - - another binary data 


Can some body tell me how?! 


I DON’T Need to Use any forge... 



Screenshot_20220728-181243.jpg
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution

A simple solution is to keep for each attribute that you need to do that an extra attribute to store the value that you want to overwrite.

So if you have an attribute Name add an attribute OldName. Before you update Name with a new value first assign it to OldName.

UserImage.jpg
shahed saqlawi

If i changed a. Binary data??? 


Same??? 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

your questions are pretty unclear. You shared a screenshot of data with old and new value. These look like text strings. Why you now all of a sudden talk about binaries?

UserImage.jpg
shahed saqlawi

 Becouse I need to change image or text... 

I gave just an example... 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Well for binary the same counts, you can always store the current and the previous version of a value either in 2 different attributes in the same record. Or in case of a binary, with performance in mind in two records. Add in this case a Static Entity attribute that identifies if the value is the current value or the previous value.


UserImage.jpg
shahed saqlawi
2021-05-21 21-56-03
Anderson!

You must have an attribute / variable that takes the actual value before update it.

UserImage.jpg
shahed saqlawi

If i changed a. Binary data??? 

Same??? 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution

A simple solution is to keep for each attribute that you need to do that an extra attribute to store the value that you want to overwrite.

So if you have an attribute Name add an attribute OldName. Before you update Name with a new value first assign it to OldName.

UserImage.jpg
shahed saqlawi

If i changed a. Binary data??? 


Same??? 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

your questions are pretty unclear. You shared a screenshot of data with old and new value. These look like text strings. Why you now all of a sudden talk about binaries?

UserImage.jpg
shahed saqlawi

 Becouse I need to change image or text... 

I gave just an example... 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Well for binary the same counts, you can always store the current and the previous version of a value either in 2 different attributes in the same record. Or in case of a binary, with performance in mind in two records. Add in this case a Static Entity attribute that identifies if the value is the current value or the previous value.


UserImage.jpg
shahed saqlawi
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.