Duplicate Profile getting created

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Duplicate Profile getting created

Post by pravik »

Hi All,

We have implemented default administration module shipped in V!3 Sp2 framework. While creating new user it uses component UFUMUDX.HTM, but it doesn't check VFPPF06 file to see if the user is already present or not. at present it allows creation of existing users.

We are not sure do we have this validation to check file from this HTMl script, can someone please help us in achieving the same.

Thanks for your help in-advance.

Thanks,
Priya
pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Re: Duplicate Profile getting created

Post by pravik »

Hi All,

Can someone help on this


Regards,
Priya
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Duplicate Profile getting created

Post by MarkD »

The UF prefix in the name UFUMUDX.HTM means it is designed to be site modifiable.
So you could copy it to another name and modify it as required.
However, I don't really think anyone would be prepared to do this for free via a forum.
pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Re: Duplicate Profile getting created

Post by pravik »

Hi Mark,

We had used function UFUMF1 to load filter component, when we copy this to another function and try to execute we get attached message. When we tried to change in existing function(UFUMF1) that as well wasn't accepted it throws fatal message.
Hence we aren't sure how and where do we add our customized logic to achieve this feature.

Regards,
priya
Attachments
Message1.PNG
Message1.PNG (53.59 KiB) Viewed 24179 times
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Duplicate Profile getting created

Post by MarkD »

This is a WEBEVENT function, so it's how you did things 10 - 15 years ago.

There's a pretty extensive check list in the error message.

The one I'd check first is:
capture1.png
capture1.png (3.75 KiB) Viewed 24164 times
Did you do that when you created the new process to contain the new function?

Also, if you do it later you should recompile the process and function again after making the changes.
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Duplicate Profile getting created

Post by MarkD »

The option is found here:
Capture2.PNG
Capture2.PNG (28.46 KiB) Viewed 24160 times
and it looks like this:
Capture3.PNG
Capture3.PNG (15.29 KiB) Viewed 24160 times
Note that it's for the process that the WEBEVENT function belongs to - not the actual function itself.

My concern is that you may be getting into WEBEVENT programming without having done any introductory tutorials, etc so you will continue to make missteps along the way.

It might be quicker in the end to do a basic WEBEVENT tutorial first ..... so that you can understand what the various parts are and how they work?

I'll see if I can find an old tutorial online.
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Duplicate Profile getting created

Post by MarkD »

I have found the old VLF WEBEVENT tutorials - but they are not available online.

Do you want LANSA support to email you a copy?


capture1.png
capture1.png (91.03 KiB) Viewed 24147 times
pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Re: Duplicate Profile getting created

Post by pravik »

Hi Mark,

Please share the documents

Regards,
Priya
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: Duplicate Profile getting created

Post by MarkD »

Sent by email. Please let me know if you don't get it.
pravik
Posts: 60
Joined: Tue Dec 26, 2017 6:44 pm

Re: Duplicate Profile getting created

Post by pravik »

Hi Mark,

Thanks for sharing the document, we have achieved the expected logic.

Regards,
Priya
Post Reply