import from XML screen Bug

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

import from XML screen Bug

Unread post by CathyC »

Working with Shalom, in classic we exported a method, then in MVC tried to import. The method was called DeleteECListRecord.
When trying to import in MVC, we had just made a new method for it to overwrite. but when the widget opened, it selected a different name (delete saved cart). We didnt notice that right away and clicked "Import" and saw this blank message and if you click ok, it doesnt do anything. Like it failed some validation.
image.png
word count: 78

Tags:
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: import from XML screen Bug

Unread post by SteveCap »

Was the method that you want to override checked out in the project? Currently there is a bug where import will not work unless it is. There is task #10770 for this.
word count: 32
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

Re: import from XML screen Bug

Unread post by CathyC »

ah yes it was, okay thank you!
word count: 7
shalomsims
Posts: 38
Joined: March 16th, 2022, 1:04 pm
Contact:

Re: import from XML screen Bug

Unread post by shalomsims »

I'm still having an issue with importing a file from XML. Before the scenario was exporting a Method. This time I am trying to export a WebPart Control from 5.1 Classic into 5.1 MVC.

I tried importing normally first and got this result. Then I created it and tried to override it and ended up with the same result.

I attached a copy of the WebPart Control I am trying import. I'm not sure if that's exactly what it's called but it is essentially like a controller called on button click. It's not inside a CallMethod currently but I want to export it as a method. If this is not the way to do that is there another way?
image.png
image.png

*Edit: I Changed the name to ImportUploadFromFile. It worked but the result of this in MVC shows me the view from 5.1 Classic. Is that normal? I've only ever imported Methods before so I don't know how it's supposed to be.
image.png
image.png
word count: 171
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: import from XML screen Bug

Unread post by SteveCap »

You cannot export a classic webpage/widget and import it to use in mvc. You have to manually copy and paste any logic over. When you tried to override it failed because classic is not compatible with mvc and gave an error. When you changed the name it allowed you to import the classic webpage/widget but you will never be able to load it because it is still in classic mode and cannot be switched. I have created task #10820 to fix the error message and to not even allow you to import the classic webpage/widget.
word count: 98
Post Reply