Page 1 of 1

change displayed field on popup primary page

PostPosted: Mon Jun 12, 2017 9:12 am
by martinc
On our primary popup we don't use Location or Contact.

Can we change those to display data from other fields and have different labels? We would like to see Price and Hours Budget

Thanks

Martin

Re: change displayed field on popup primary page

PostPosted: Mon Jun 12, 2017 10:22 am
by kcembrey
Hi Martin,

You could map the location and contact DayBack fields to your Price and Hours Budget FileMaker fields, but setting up additional fields would be more helpful as you can specify the type and formatting for those custom fields.

You will need to make sure you're updated to the latest version of DayBack in order to add additional fields.

First, you can hide the Location and Contact fields from the popover following the instructions here: https://www.seedcode.com/pmwiki/index.p ... okBehavior

Then, you can add a custom currency and date field to the popover: https://www.seedcode.com/pmwiki/index.p ... onalFields

Hope that helps!

Regards,

KC

Re: change displayed field on popup primary page

PostPosted: Thu Jun 15, 2017 6:24 am
by martinc
I purchased the update package.

My "DBk_WebViewerSource" does not contain the Bold text below"
..Find that field in your first source and edit it, scrolling down until you see the comment "Do not edit below this line unless adding additional fields". The last line in the List() section of that calc currently reads...
Quote ( Substitute ( sc_tags ; [ "ΒΆ" ; "\n" ] ; [Char(10) ; "\n"] ; [Char(8232) ; "\n"] ; [Char(8233) ; "\n"] ) )
)"

Do I replace the definition of the DBK_WebViewerSource with what came in the demo file?

Re: change displayed field on popup primary page

PostPosted: Thu Jun 15, 2017 10:55 am
by kcembrey
Hi Martin,

The tags field was added in the 9.81 update of DayBack. After running the in-app updates, you'll want to be sure to apply all the script updates in order from the build you were on to the latest. You can see the build history with script update instructions here: https://www.seedcode.com/pmwiki/index.p ... ionHistory

You won't want to replace the entire calculation as you likely have specified your own fields to use in it.

The comment about additional fields can be added to your calculation if you'd like, but is not necessary.

Regards,

KC