NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - peterH

Pages: 1 ... 3 4 [5] 6 7 ... 27
61
Web Server - Ask For Help / Re: User option GUID
« on: April 10, 2019, 10:22:34 PM »
Hi Bruce,

I understand what you're saying.

The fields are all true guids, string(16) and I'm using SQLServer.

A thought: could external name be used to ease the pain (setting external name to GUID)?

Otherwise, I may just have to "work harder, not smarter" :-)

Peter

62
Web Server - Ask For Help / Re: User option GUID
« on: April 08, 2019, 05:37:47 AM »
Hi Don,
Thanks for your reply. Unfortunately it doesn?t really address or answer my question.

Peter

63
Web Server - Ask For Help / User option GUID
« on: April 08, 2019, 04:29:32 AM »
I'm trying to assess the amount of work involved in making an existing app qualify for becoming 'disconnected'.
It's a fairly large app with many tables and they've all got a guid field already - problem is that these fields are named customer_id, item_id etc. (and fk_customer_id, fk_item_id when used as foreign keys). Changing the dictionary/database is not the big problem, it's all the hand code refering to these fields!

In a thread started by Jane ("Disconnected app fields?") on Dec 10 2018 I read about a user option called 'GUID' that can be set to 1 in order to identify the guid column in a table. However, Bruce wasn't sure if it's fully implemented.

So my question is this: has anybody used this option and does it work?

Peter

64
Web Server - Ask For Help / Re: Too many segdef in file:1F,4000
« on: April 02, 2019, 07:48:43 AM »
Suspense ...

65
Web Server - Ask For Help / Re: PWA experience?
« on: April 02, 2019, 12:09:24 AM »
Cool!
Your example is also very helpful, thank you Bruce.

Peter

66
Web Server - Ask For Help / Re: PWA experience?
« on: April 01, 2019, 11:59:05 PM »
Hi Jeff,

Very helpful, thank you.
I know you've been working hard on your filter settings etc. but I assume that the layout/styling is out of the box (using the base theme)?
Also, did you do anything to make the This Device browse scroll rather than using the Next/Previous buttons or is that something that's done automatically by NetTalk?

Peter

67
Web Server - Ask For Help / PWA experience?
« on: April 01, 2019, 07:50:41 AM »
Hi all,

Does anyone have any examples of or experience with the look & feel of NT generated PWA's?

As it is it's possible to "install" a web app on a phone or tablet by adding it to the home screen (provided you've got the right header settings and icons etc). This way you get rid of the browser frame but the app still very much behaves and looks like a web app. So I'm curious about what a PWA looks like - particularly when it comes to navigation, browses etc. Does it feel more like a web app or more like a native app? Or is it simply all about using the right CSS?

In the past I've been writing some native apps using a non-Clarion tool but I'm considering switching to PWA in order to avoid maintaining versions for different OS's and in particular not having to deal with the stores.

Any input is greatly appreciated as this is completely new to me.

TIA
Peter

68
Hi Bruce,

My original description was not correct. The local var does retain its value but the upload box (as displayed by the file upload script) is being reset/cleared, which this makes the user think that the file has not been selected/uploaded.

I've sent you an example.

Peter

69
I have a memory form with a bunch of local fields - some for user input and some for file upload. All fields are primed to blank/0.

The problem is that when the user clicks save and there's an error on one of the input fields, then the vars holding the already uploaded file(s) get cleared and the user has to select/upload again.

Any way to overcome this?

Peter

C11/NT11.07

70
Web Server - Ask For Help / Re: No matching Prototype
« on: March 07, 2019, 02:43:00 AM »
I think you need WinEvent in the app.

Peter

71
Web Server - Ask For Help / Re: Condition small screen device
« on: February 24, 2019, 01:28:45 PM »
Jane,

That was also my first thought and I'm using @media queries all over the place.

But I think Poul does have a point here. Sometimes it would be nice knowing if the user is on a phone for example in which case you might want to serve a completely different page rather than 'crippling the page' by using display: none; in your css.

In earlier versions of NT we had IsMobile() as a convenient way of getting at least an approximation of the user's screen size.

Peter

72
Jeff,

The Image field must contain a (disk) file name, not a field name as shown on your first example.

Peter

73
Web Server - Ask For Help / Re: All my popup forms are placed to the left
« on: January 21, 2019, 03:41:49 AM »
As it stands right now nothing will happen 'till some time in February.  :(

Unfortunately, Bruce has decided to base everything future NT on a new, paid-for, upgrade to StringTheory (ST3) which will come out in early February. While I don't mind paying for a st-upgrade (after all, it has been many years of new functionality) I find the timing and coupling very strange. Seen from a customer perspective, we paid a fair amount of money for NT11 (Server) with not much new in it except a number of regressions. Some of them have been fixed and some are long outstanding. In fact, we've waited several months for the fixes and now we're forced to pay for an upgrade to another product in order to have the regressions fixed. All I can say is that that's not the way I would have done it (my customers would have killed me for sure). The current StringTheory version is 2.90 so there are a few updates to go before hitting the next big number, 3. It's perfectly ok if new NT-functionality requires a new paid-for ST version but I think the NT regressions should be fixed first.

Ok, I got it out.
And like I said before: I'll be absolutely happy to buy an upgrade to StringTheory - but I don't like being forced to do so and that's how I feel right now with the current staging.

Peter

74
Web Server - Ask For Help / Re: Admin app - how
« on: January 16, 2019, 07:06:32 AM »
Thank you all for your suggestions!

I think I'll go with the separate ports solution, looks like it'll serve the purpose. I might have an additional question or two regarding security/certificates but I will play a little first. If there's a webinar tomorrow that might be a good place to ask further.

Thank you
Peter

75
Web Server - Ask For Help / Re: Change Comment on a field
« on: January 15, 2019, 06:40:37 AM »
Hi Brian,

Yes.  On the Client-Side tab of the button make sure you refresh the field holding the path, just the comment will do since that's what you want to change.

Now, on the field itself put something like the following in the comment: choose(p_web.gsv('path_exists'),'OK','Please create'). This should do the trick (assuming you have a session value holding information about whether the path exists or not).

Peter

Pages: 1 ... 3 4 [5] 6 7 ... 27