Focal Point
[CLOSED] Edit Maintain file (.mnt) in Maintain Dev Environment

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5357066326

August 30, 2012, 11:09 AM
BobV
[CLOSED] Edit Maintain file (.mnt) in Maintain Dev Environment
I am creating a user form using Update Assist. Once it's created, I open the Maintain file in the Maintain Development Environment. I can update the form in a GUI except for one problem (thus far). There is a "save" command button created and the default message is: "Your information has been updated (Record key: \ NE16FINStk.NE16FIN.HI_LEV_DESC \).
If I try to edit the text (get rid of Record key: \ NE16FINStk.NE16FIN.HI_LEV_DESC \) in the Maintain File (.mnt), then run it, the HTML form does not bring back records when selecting using the HTML navigation bar.
My question is, how is one able to manually update a maintain file in the text editor?

thanks
Bob

This message has been edited. Last edited by: Kerry,


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
August 30, 2012, 11:36 AM
Maintain Wizard
Bob
Maintain files should always be edited inside the MDE. You should be able to make a change and save it. You should then be able to kick off the HTML launch page for that Update Assist created application and see the change. If you asked that your MNT file be compiled, then the launch page is looking for a compiled MNT file (FCM) and you will have to compile your file after the change.

Now if the problem is with the change, what are you trying to do? Are you trying to get rid of the entire message or just the part that says what record you are updating? If you want the entire message not to show up then you CAN either make the change in the MDE or in a text editor. If you search for the line:
WINFORM SET formname.ActionMsg_Text.Text to ActionMsg
Here, formname is the name of your form, and comment out that line, then no result message will be seen.

If you want a generic message to display then you can locate the statements in TOP case that compute the message and then append the record information onto it. If you remove the record information then the message will be generic.

I do recommend using the MDE and not a text editor only because if any of the XML gets changed in a text editor the forms may not display in the MDE to edit. If I didn't answer your question, please let me know.

Mark
August 30, 2012, 12:18 PM
BobV
Ok, need to ask a really simple question... what's the MDE and how to I open it / call it whatever. I'm really new to this and no one else in my group has a lot of experience with it either. I'm the test case.

thanks Mark.


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
August 30, 2012, 01:19 PM
Maintain Wizard
Bob
If Maintain is installed...

In Devstudio, when you open a project there should be five folders:
HTML Files
Maintain Files
Master Files
Procedures
Other

When you expand the Maintain Files folder you should see the created file with an mnt suffix. When you double click on it, the Maintain Development Environment (MDE) will open.

If you are not licensed for Maintain, then you may not have the Maintain folder and not be able to open the MDE. Honestly, if you are not licensed for Maintain you shouldn't be using Update Assist either.

Mark
August 30, 2012, 01:49 PM
BobV
Oh boy do I feel dumb. Yes, I have been using Maintain Development Environment. Did not realize that was = MDE.

However, in MDE, when I find the text code to customize the message that appears once the "Save" command button is clicked by a user, the form no longer returns records. Thought maybe there was a GUI tool that would assist me.

..Bob


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
August 30, 2012, 02:27 PM
Maintain Wizard
Ok... The form displays but no records are displayed. I believe the fields are losing their bindings. You CAN go into Windows explorer and use Text / Note pad to make a simple change. Then run the MNT file. You won't see any data, but that will create the WFM file. Now try launching from the HTM form and that should work.

This issue of the fields losing their binding was fixed, I believe in 7.703.

Mark