This is one possible solution we us a lot in our own applications:
https://github.com/4dgeek/4d-component-jsonEditor
Kind Regards
Rolf
--
View this message in context:
http://4d.1045681.n5.nabble.com/Object-visualize-browse-tp5751523p5751585.html
Sent from the 4D Tech mailing list archive at
python -c 'import uuid; print uuid.uuid4()'
returns:
8f1dad2d-2eec-4da7-b484-63a7e7549824
Not that that’s canonical, just offering another sample.
> On Apr 23, 2017, at 10:03 PM, Keisuke Miyako via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> I wasn't aware of the argument that they should
Hey Rolf,
4d web area and javascript!
That’s simple and and elegant!
Very cool!
Appreciate,
John…
> This is one possible solution we us a lot in our own applications:
> https://github.com/4dgeek/4d-component-jsonEditor
>
> Kind Regards
> Rolf
Hi Kirk,
> I must be missing something.
You are probably missing a call to the NOTIFY RESOURCES FOLDER MODIFICATION
command -
http://livedoc.4d.com/4Dv16-R2/help/Command/en/page1052.html
The NOTIFY RESOURCES FOLDER MODIFICATION command "forces" 4D Server to send a
notification to all the
Doug,
I do something similar.
I use Web services (lazy option). The sync records are in JSON (v13 so I
used NTK later versions use C_OBJECT commands) for the "small" fields and
pack big fields into a Blob.
I can send code if you're interested.
Regards,
Wayne
[image: --]
Wayne Stewart
Hi Chip,
Is it possible you have the component in multiple places?
Heres from the manuals. Not sure if this is your issue though.
Location of PlugIns and Components folder
You can put the PlugIns and Components folders in two different places:
* At the level of the 4D executable
On 24 Apr 2017, at 22:50, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote:
> I opened another method to publication.
Hi Chip
When you made the change the first time, was the host structure still open ?
TRY:
• open the component structure only
• un-publish the method
• re-publish it
Hi Tim,
Thanks very much for picking up on this. I did look at the server guide,
which is where I saw the 2 minute lag between changes and updating. I'm
just not seeing that updating taking place when files in the Resources
folder are changed manually.
This may be a bit of an odd instance - I'm
On Apr 24, 2017, at 11:37 AM, Kirk Brooks wrote:
> I was looking up something else yesterday and came across some comments and
> directions regarding UUIDs and saying that they should always be lowercase.
> But this isn't a hard rule, apparently. And 4D prefers to uppercase them -
> which I find
Tim,
On Mon, Apr 24, 2017 at 12:14 PM, Tim Nevels via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> I’m curious why you want to “read” a UUID? I can’t read one and remember
> it with or without lowercase characters. It’s just too long.
>
Well, we all seem to have our favorite little data fetishes...
Thanks both Peter and Garri
Apparently, I copied, rather aliased the component into the test
host
I am locating the component in the package of the test host. so it is
only available to the test host.
The testing host is an empty database with no tables and only one
method, strangely
I have a test host database
and a nascant matrix database (component)
I can get the component to load.
I can not get it to update...
In the components folder of the host is an alias to the actual component
- I can see the 1 method I am sharing
- I can run it
I made a change to the component code
On Apr 24, 2017, at 2:00 PM,Kirk Brooks wrote:
> But would 4D server recognize the files changed? As I think about it I
> suppose there's no particular 4D event that would trigger is there? Or does
> 4D server have some built in process that monitors the resources folder for
> changes and
Hi Keisuke,
Thanks for your reply.
Perhaps it would make more sense if I explain what I'm trying to do ...
I want to create HTML files and open them in 4D Write Pro.
So I need to know which CSS attributes 4D Write Pro supports.
Also, is it even possible to do this? The docs state that the .4wp
> uppercase-non-hyphenated seems like a reasonable cross-platform solution
Nicely put :)
Upper/Lower with or without dashes, under the hood it is a 128 bit integer, the
letters and numbers are just the number in Hex (i.e. it doesn't make a
difference on the case)
Even Wiki says upper or lower
> The current approach has got to be quite inefficient. The problem I've got
> is that I can't come up with anything other than a WAG as to how much
> faster it will be.
It's been some time since I tested out size v. speed relationships in a
similar setup. And, of course, it depends on your
Ron:
Oh yes, big fan of API Pack! I've used B2R and there's also JSON and a few
other approaches.
The issue I need to resolve is how much, if at all, will a different
encoding/deciding approach impact performance?
The current approach has got to be quite inefficient. The problem I've got
is
Mine performs similarly slowly (5-6 records per second) but it sends only
one record per web service call.
A smarter and less lazy person than me would bunch a few records into the
one call, use compression etc. One day I might implement this but you
never can tell, I think beer is more
David:
The transmission time is very manageable — these folks send in data from
very remote locations and the payload always arrives at the server. The
BLOB's are sent via web services and, IIRC, the BLOB's are pretty good
sized, some being over 100k.
The deal breaker is that the code is only
Doug,
I may be misunderstanding your application, but wouldn’t API Pack’s Record to
Blob and Blob to Record functions work? (It’s from pluggers.nl)
We use that, first compressing then converting the Blob that contains the
entire record to text before sending it as a variable via an HTTP Post.
Hello,
> I want to create HTML files and open them in 4D Write Pro.
> The docs state that the .4wp format is HTML, but if I try to import even a
> very simple HTML document, it fails.
I am sorry to say this won't work.
4D Write Pro is not a Web Browser,
it so happens that a 4D Write Pro
> The deal breaker is that the code is only updating about 3 records per
> second it can sometimes takes days for the server to catch up.
Ouch, that is slow. I haven't followed closely...if your'e using SOAP, it
has to escape binaries to Base64...which is an absolutely hideous wire
format. If
On Mon, Apr 24, 2017 at 8:30 PM, Wayne Stewart via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> Mine performs similarly slowly (5-6 records per second) but it sends only
> one record per web service call.
>
> A smarter and less lazy person than me would bunch a few records into the
> one call, use
23 matches
Mail list logo