Not sure this will help in your situation but this is what we do. This applies
to OSX only.
I store all documents (hundreds of thousands) in their native format outside
the data file in a directory on the same drive as the 4D datafile. I store the
files by client / patient in their own
As requested, I have posted a link to a folder with some samples:
In it you will find;
1) The Spectrum palette I use for this project
2) The same palette ported to the OS Color Picker
3) Dialog - this is a basic detail
You can use Miyako’s pdf plugin to do basic pdf manipulation.
For instance we receive our faxes as pdf’s from an e-fax service.
In our application, we create thumbnails of the various pages. The staff can
then chose to delete pages (i.e. the cover page) or group pages together as a
I just re-did the UI of my application.
Here are a few tips form my experience.
1) Start by picking a color palette of 4-6 colors. I use Spectrum- great app
for selecting colors based on their relationship- monochromatic, analogous,
Make a table and decide which
I accidentally inserted some recursive code in my Start Up procedure.
Now I when I open the database, I can’t get to the design environment.
I can’t remember how I prevent this form happening.
I know it has something to do with preferences… I think
BTW the template is:
Randy, I tried the compatibility option but that didn’t do it.
4D Internet Users Group (4D iNUG)
So based on your post, I tried it with Select Document and as you note it works.
Then I changed the path name to use the Folder Separator constant even though
“:” (semi-colon) seemed to be working fine and voila, the code works.
Don’t know why but it works.
$tPathname:=Get 4D folder(Current resources folder)+"Templates"+":"+"Test
tTemplate:=Document to text($tPathname)
PROCESS 4D TAGS(tTemplate;tHTML)
The compatibility chart says “Compatible” but not “Certified”. Any real life
issues, show-stoppers, annoyances?
Both for Server and Developer.
4D Internet Users Group (4D iNUG)
4D Server 16.2
Mac OS 10.13.2 running on a MacMini (Late 2014) 8GB RAM
External RAID 0+1 Samsung SSD. Using SoftRaid XT
Only applications running are:
4D Server (no stored procedures), 15 users
Carbon Copy Cloner 5.05 (latest) scheduled to run every hour except from 22:00
- 6:00 when
Thanks for the suggestions:
1) Upgrading to 16.3 HF1. I will do this but none of the reported bug fixes
seems to address the problem.
2) This is a 32 bit application
2) Memory setting. Since this is 32 bit on OSX my understanding is that the
memory allocation is fixed by the OS at around 2 GB.
I believe I have a clue.
The last three crashes occurred overnight when new updates were available to be
installed. i.e. I get the notification on the desktop from macOS that an update
The server ran fine for 7 days prior to that.
How do I report this to 4D?
For what is is worth, I had the complete opposite experience in Quebec.
(Remember that health care is a provincial mandate, so experience varies from
province to province.)
In the last two years, Quebec overhauled the interface for payments for
doctors, and those services covered by
For years I have generated read only .ics files from data in 4D. These were
then stored on a share point on my OSX Server. Well, now Apple has removed
almost all features from Server. (In fact, I have now installed it). I would
like to still serve up the .ics files so that they can be
g the 32 bit clients as soon as I have got
> everything just so.
> Steve (UKVD)
> On 15/12/2018, 15:04, "4D_Tech on behalf of Mitchell Shiller
In process of migrating from v16 32 bit to v17 64 bit all on Mac.
Converted my interpreted database, but can’t find a copy of 4D Write for v17.
The v16 version won’t load in v 17.
I wanted to convert all my 4D Write to 4D WritePro in 32 bit. Once stable then
jetison the old 4D Write and
I will have to some of the conversion in v16 and then some in v17.
My interface needs some of the newer features e.g. standard actions available
I was hoping to develop and test side by side in the same database.
I’ll open two versions.
> Maybe 4D Write version 16
Try the following.
In my case, I pass this method a Folder Name and a Document name. This is
because I deal with multi-language documents kept in separate folders.
The user sees a name of the document without the “.pdf”.
You could just remove those lines and populate $tFileName with
Banging my head against the wall on this one.
Obviously a simple answer but it seems to be eluding me.
I want to programmatically create a series of paragraphs in WP,
Different paragraphs would have different attributes - e.g. font and margins
I cannot find any examples in the KB or
I know that 17.1 is Mojave compatible.
I am using 17R3. (I need some 4D WP features).
Question: will there be an 17 R release that will be Mojave compatible or will
I have to wait for v18?
Sent from my iPhone
Mail list logo