Urgent Help needed convert Mavic Wheels rear to front

Hi I'll start by telling my short dilemma. I bought a Canyon Strive less than a month ago and before I made my third ride I crashed it entering an underground parking when I forgot I had it on my roof rack. Luckily the only real damage was to the front wheel which was a Mavic Deemax Pro 29.
So the problem I'm having now is getting the new part which seems unavailable, but I found the rear wheel and wondering If I could use that to convert it to the front. The spoke count is the same, but really don't know if the length varies, the front hub seems to be working as well.
I attach the weblink
https://shop.mavic.com/en-int/deemax-pro-limited-edition-sam-hill-rv1193.html#1028=3283&1031=3465&1032=3473&1033=3483&1034=3495&1035=3503&1036=3507&1037=4075&1038=3511

So the problem I'm having now is getting the new part which seems unavailable, but I found the rear wheel and wondering If I could use that to convert it to the front. The spoke count is the same, but really don't know if the length varies, the front hub seems to be working as well.
I attach the weblink
https://shop.mavic.com/en-int/deemax-pro-limited-edition-sam-hill-rv1193.html#1028=3283&1031=3465&1032=3473&1033=3483&1034=3495&1035=3503&1036=3507&1037=4075&1038=3511

0
Posts
And the spokes seem to measure the same.