Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

[FMP-LinkRecID: ..... Error=?????]


Leb i Sol

This topic is 7855 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello People!

I was wondering if this/error capture is possible with a link:

  

<a href="[FMP-LinkRecID: format=Details_page.html, layout=mylayout, error=Error_page.html]">DETAILS</a>

and what the Error # would be?

thank you all

grin.gif

Link to comment
Share on other sites

Hello Anatoli!

I have tryed it and no cigar!

The reason I expect the errror is because this page confirms the Update of record as well as the Deletion of the same.

It works fine when I do the Update and it just shows/links me the page that shows changes I mage; but what I would like to do is utilize the same page that, instead of going to details, would reflect the fact that the record was Deleted!

I hope I am expplaining myslef right. It would look like this:

-----RecordDetail(edit).html-------

<input type="hidden" name="-format" value="Confirm.html">

field

field

field

field

.........[uPDATE]..[DELETE].......

------------------------------

both Update and Delete will go to Confirm.html on which I have:

<a href="[FMP-LinkRecID: format=Details_page.html, layout=mylayout, error=Error_page.html]">TO SEE THE CHANGES YOU MADE CLICK ON ME</a>

and as I said this will show me the details if I do the Update.... but error_page would be used to capture the "error" when I try to see the details of the record that no longer exist(deleted)

...are you with me? laugh.gif I know is sounds....

thank you very much

Link to comment
Share on other sites

Hmm, it will be confusing to user and I am also confused.

It is design fault to display list of records which do not exist.

You can display that after update. But after delete generate new list without the deleted record(s).

For security reasons you should avoid deleting records by web users.

It that's possible, only "flag" record for deletion.

Link to comment
Share on other sites

well...each project flows in diff. direction and I like to have all my tools from as less views as possible.

I hate to have "and go to this page to Edit and then go to this page to Delete and then go Here to see the list add...etc."

but ...you know what if users don't have enough sense to realize that deleted record is no longer there - then I have been wasting my time with them from the begining.

I was just curious if the command would work and what the error code would be to "a record no longer exisit". laugh.gif

Now, "flag" concept is what created a little yellow light bulb above my head.....

...can you shine some light on it?

thank you sir

Link to comment
Share on other sites

[by the way...they can only delete the ones they create(thier token-their record)...I don't really want "to hold their hands" if they make an entry mistake ...they can del. themsleves]

....now "FLAG" thing means that there is a feature of FM I don't know about oooooorrrr.... laugh.gif

Link to comment
Share on other sites

I do not object to page with more functions, that is fine, but to display something what doesn't exist is wrong all the time. After delete you should refresh the list with records.

I am calling "flag" something like On/Off switch. If the record is "flagged" for deletion, it will be later deleted as maintenance work. On web you can display that record with remark "Deleted" or not display at all.

That will be just additional security against web hackers.

Link to comment
Share on other sites

"but to display something what doesn't exist is wrong all the time" laugh.gif

well I just want an error page that will say "Its GONE" I am not trying to "display" non-exisitng record....agh who cares forget the topic smile.gif

"Flag" ha!

you know...I never thought of that...now I whish I could go back to some projects and use it laugh.giflaugh.gif

Unfortunately, I can't use it in this project since the record has to be deleted immediatly ( generating reports by the end of the day) and also... I would have to re-design about 30-40 htmls....and deadline....is near smile.gif

man, where were you 2 months ago! smile.gif

thank you for the posts

Link to comment
Share on other sites

You better check your calculation.

End of April - [FMP-currentdate] = Anatoli is still in LA

- so if you are in LA (or maybe somewhere between LA and Prague), you possibly could buy Anatoli that beer. Talk to him.

What is on April 1st? - It is commonly referred to as either All Fools' Day, the Day of Saint Stupid, or April Fools' Day. It is a day upon which practical jokes are played on the unsuspecting, misleading news stories are likely to appear, and good-humored activities prevail - in spite of the impeding tragedies of day-to-day living.

It is quite appropriate to your offer.

Have a great weekend.

Link to comment
Share on other sites

This topic is 7855 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.