ULSashido / ArrowDB_2_Sashido

Migration Tool for ArrowDB to Sashido
MIT License
3 stars 1 forks source link

How to migrate files, photos and Email Templates? #2

Open emmanuelfrancis opened 2 years ago

emmanuelfrancis commented 2 years ago

Could you please let me know the steps/process to migrate files, photos and Email Templates?

yozef commented 2 years ago

It was not the intention of this project.

Email template I'm guessing is just the HTML you need to copy and place in Sashido's cloud code. They have help blog guides.

For images... that took a while. Basically I have to run a script that downloaded and re-uploaded to Sashido.

emmanuelfrancis commented 2 years ago

thanks for the response.

I have another problem. In arrowdb I have some field names with spaces like "first name", now while migration, it gives me did not go through! => { "code": 105, "error": "Invalid field name: first name" } Is there any way to ignore or substitute such columns in migration?

ULSashido commented 2 years ago

How were you able to create property names with spaces in Axway? I wasn't aware that was possible.

Given Axway will be shutting down end of this month. I suggest you download the DB from Axway before the end of the month as a back up.

emmanuelfrancis commented 2 years ago

thanks, yes I have exported the db. Please see attached screenshot of a custom object

Screenshot 2022-08-21 at 8 11 08 PM
ULSashido commented 2 years ago

New release 0.2.1 that will remove the spaces from the keys. Also Relations are now Pointers, which will be easier to fetch when Querying Sashido, since it will return the Query and the included child object(s).

emmanuelfrancis commented 2 years ago

Wow, great. I will check this. Not sure this will also fill the creator user. I had filled users first before creating custom objects, but was getting creator as follows: "creator": { "__type": "Pointer", "className": "_User", "objectId": "undefined" },

emmanuelfrancis commented 2 years ago

I think you can also look into the below error: ✖ ERROR: Account User Creation for undefined undefined did not go through! => {"code":200,"error":"bad or missing username"}

This happens when axway username is not defined in user table. In axway username is optional if email, firstname and lastname are filled. Is it possible to migrate and fill email in username if username is not defined?

emmanuelfrancis commented 2 years ago

I downloaded 0.2.1 and tried importing object, its creating object but skipped all field name with spaces, just created one field { "objectId": "6Z1ACdil01", "arrowId": "6z287843b3533e0219a25r84", "incident_number": "MO119", "createdAt": "2022-08-24T11:59:31.704Z", "updatedAt": "2022-08-24T11:59:31.704Z" } Seems to be some issue. I am going back to using 0.2.0. Thanks.