Skip to main content
Solved

Place notes not editable on WebClient


Forum|alt.badge.img+6
  • Sidekick (Employee)
  • 10 replies

Hi all

Has anyone else faced the issue that the notes on the WebClient Place screen after an updated text show [object Object]? Furthermore the note type is missing.


A save attempt after modification will not save the changes.

Before Update, Note type is empty
Before clicking “OK”
After clicking “OK”

Looking forward for your answers.

Best regards:

Marko

Best answer by Brian Maus

Hi @Marko ,

 

Maybe it does -- just never had to use it like that! If you’re flexible about not needing rich input this snippet uses a _tx table and works for userdefs. Kindly ignore the “View All” button which does nothing.

 

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

9 replies

Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

Hi @Marko ,

 

Have you refreshed /cleaned your browser cache and able to re-generate this issue?


Forum|alt.badge.img+6
  • Author
  • Sidekick (Employee)
  • 10 replies
  • June 23, 2021
Saranga Amaraweera wrote:

Hi @Marko ,

 

Have you refreshed /cleaned your browser cache and was able to re-generate this issue?

Hi @Saranga Amaraweera 

Yes I did, no impact.

Best regards:

Marko


Saranga Amaraweera
Superhero
Forum|alt.badge.img+22
Marko wrote:
Saranga Amaraweera wrote:

Hi @Marko ,

 

Have you refreshed /cleaned your browser cache and was able to re-generate this issue?

Hi @Saranga Amaraweera 

Yes I did, no impact.

Best regards:

Marko

@Marko ,

 

Are you getting the same issue in different web browsers or is it specific to only one browser? 


Kalpani Dissanayake
Superhero (Employee)
Forum|alt.badge.img+20

Hi @Marko 

 

What is the FSM version you are referring to? Earlier, there was a bug in FSM 6 update 4 where inactive note types display as  {<note_type>}  in web client. Many thanks.


Brian Maus
Do Gooder (Customer)
Forum|alt.badge.img+6
  • Do Gooder (Customer)
  • 12 replies
  • June 23, 2021

Hi @Marko,

 

We had this exact issue when upgrading from 5.7 to 6. We had this issue everywhere in FSM 6 where we had custom 5.7 screens that had *_note and *_txt tables. Or to put it another way - if the screen wasn’t the new “message board” display style of entry it wouldn’t work. This was quite a few screens in our case.

 

We fixed it this way (using place_note as an example):

 

If place_note.text_rtf was null we copied place_note.text to it.

Copied the entire TabItem for “Notes” from the baseline screen and replaced the 5.7 TabItem.

 

 


Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

Forum|alt.badge.img+6
  • Author
  • Sidekick (Employee)
  • 10 replies
  • June 23, 2021
Brian Maus wrote:

Hi @Marko,

 

We had this exact issue when upgrading from 5.7 to 6. We had this issue everywhere we had custom 5.7 screens that had *_note and *_txt tables on 6. Or to put it another way - if the screen wasn’t the “message board” style of notes it wouldn’t work. This was quite a few screens in our case.

 

We fixed it this way (using place_note as an example):

 

If place_note.text_rtf was null we copied place_note.text to it.

Copied the entire TabItem for “Notes” from the baseline screen and replaced the 5.7 TabItem.

 

 


Hi @Brian Maus 

Thanks a lot for your answer. I am pretty sure it will solve the issue - but I guess then the user can no longer specify the PLACE_NOTE.USER_DEF1 when adding a new note? Any chance we could get this working along the way with the new popup being opened when modifying the Text?

Best regards:

Marko


Brian Maus
Do Gooder (Customer)
Forum|alt.badge.img+6
  • Do Gooder (Customer)
  • 12 replies
  • Answer
  • June 23, 2021

Hi @Marko ,

 

Maybe it does -- just never had to use it like that! If you’re flexible about not needing rich input this snippet uses a _tx table and works for userdefs. Kindly ignore the “View All” button which does nothing.

 

 


Forum|alt.badge.img+6
  • Author
  • Sidekick (Employee)
  • 10 replies
  • June 24, 2021

Hi all

@Brian Maus: Thank you so much for the input.

This is how it has been solved, but most of these steps need to be performed in the screen’s XML config:

  1. Change that tab <name> content with the suffix “Custom”: PlaceNotesCustom
  2. Hide the “_RTF” DB field and embed the “note” field into the listview.
  3. Create an _ALIAS table in Custom Metadata. Replace every iteration of the default table name “PLACE_NOTE” with the “PLACE_NOTE_ALIAS” (except) for the counter ID in the XML screen code.
  4. Change the “New” button to be no longer assigned to the name “addNote”, but replace it by just “add”.

Finally, this configuration allows you to also embed USER_DEF fields into these “Notes” tabs and to work without the RTF editor entirely. Thanks for coming up with the solution @ruben.maas!

Best regards:

Marko


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings