Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
emmanuelfrancis opened this issue Aug 21, 2022 · 8 comments
Open

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

emmanuelfrancis opened this issue Aug 21, 2022 · 8 comments

Comments

@emmanuelfrancis
Copy link

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

@yozef
Copy link

yozef commented Aug 21, 2022

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

ULSashido commented Aug 23, 2022

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants