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 - Jim A

Pages: 1 [2] 3 4 ... 14
16
Thanks Stu and Poul.  I appreciated your responses.

Turns out, it was a message that was causing it to halt.  And, the reason for that, it turns out, was that the embed point for setting the glo:filenames had to be moved down in the list (SelfService had a new embed point and I needed to do the assignment after that).  So, we're good to go there.

I'm saving both of your comments because I like the approach.  That makes a lot of sense and could have saved me a lot of frustration.  All part of the learning curve.

Best,

Jim

17
One of the fields on my memory form is Loc:Customer.  There's a lookup button and the "Force user to use lookup" is checked.  Click the button and the lookup browse page appears.  Click on a Customer and nothing (the browse blinks as though it's going to work).  The app is stuck.  Won't return to caller.  Won't return results.

This has been working fine but went south on me when I started to set the app to run as a service.

Ugh.

C10 NT 9.12

Thanks.

18
Hi Kevin:  Yes, it runs fine as regular app.

Where do I check permissions for this? 

Thank you,

Jim

19
Web Server - Ask For Help / Re: Finding Correct Embed Points
« on: September 13, 2016, 02:47:06 AM »
Thanks Kevin.  I'll give that a shot.  Appreciate the help.

20
Sorry to monopolize the forum but have yet another question:  I'm using SelfService to install my NTWS as a service.  It does indeed show up in services as running, etc.  But, it doesn't respond to any requests.  I've tried about every combination of settings that I can think of.

Thanks for any help.

Jim

21
Web Server - Ask For Help / Finding Correct Embed Points
« on: September 12, 2016, 10:37:29 AM »
Hi All:  Is there a document somewhere that lists the standard embed points and when they get fired in code? 

I have an Inventory Browse that includes an Email Button.  User presses the button to call a memory Form that gathers the Email info and generates a pdf that gets attached.  I would like to have the Email Subject Line populated with the Inventory Make + Model information.  On the Browse's Email Button, I ticked on "Send Button Click to Server" and embedded p_web.SSV('MakeModel',clip(p_web.GetValue'(Inv:Make')) & ' ' & clip(p_web.GetValue('Inv:Model')))

When I send info about this to DebugView, it's like the code gets skipped and doesn't exist.  When I send Comments to debugview at that point, nothing happens.

My thought was that I should be able to store 'MakeModel' as a session value, and then, when the Form opens I should be able to read and prime the loc:subject field with that info. Both fields are in the Browse's View.

Thanks for any direction.

Jim

C10 NT9.12

22
Finally getting to the bottom of this. 

I should have been paying closer attention to the logs.  When my memory form opens, it receives the unique ID field from the record that the user clicked on in the Browse.  The ID gets passed in the URL and shows up in the Referer: of the Post Log.  Then, when the user clicks to look up the email recipient, the Referer: changes, and the original ID is cleared. I was setting the p_web.SSV(Record:ID) when the Form was started.  That worked fine as long as the Refer was the original Browse.  The p_web.SSV() overwrote the Record:ID with a zero when it came back from the lookup.  By enclosing the p_web.SSV() in a conditional statement, I can preserve the original ID.

An aha! moment -- for me at least.  Now I can try some of the suggestions that were made.

Thanks again for the help.

23
My apologies for all of the questions lately.  I had all this working in C6 a few years back but just can't seem to get it right in C10. 

One of my problems is finding the right embed points for what I'm trying to do. I tried numerous things.  Then I saw where you can tick the box that says 'Start Automatically when Form generates.'  That works great. (Finding a lot of places where Bruce has made things easier.)  But when I do a lookup to get the email address, it automatically generates again.

I'd like it to generate the .pdf after the lookup procedure has been called and the Loc:EmailAddress has been filled.  Which embed point do I need?

Many thanks.

Jim 

24
Web Server - Ask For Help / Re: Page doesn't load after email is sent
« on: August 25, 2016, 12:35:54 PM »
Finally tracked this down.  Before the email gets sent, I have code that checks to make sure that the .pdf has been created, and if not, to generate it.  It did not like that.  Commented out the code and it works.

I'm very impressed with NTWS, but sometimes it makes me feel really dumb.

25
Web Server - Ask For Help / Page doesn't load after email is sent
« on: August 24, 2016, 07:54:00 AM »
Hi All:  Not sure what I did, but for some reason, once an email gets sent, and the Result page is posted back to the user, he has to hit refresh for it to load into his browser.  The right page appears in the URL, but you have to physically refresh.  The log shows the POST of the page, of course.

I realize that this is a long-shot without seeing the code, but thought I'd throw it out there in case it's something simple.  Unfortunately, I can't make most of the User Group meetings or I'd ask about it there.

Thanks,

Jim

26
Hi Stu:  Thanks for all of the great ideas.   Your post is very helpful and gives me incentive to push ahead. 

Best,

Jim

27
Hi Terry:  Yes, there are times when it is not sent (only when the user changes his mind, I suppose).  I'm using PDF-Tools. 

Thanks much for your help!

Jim

28
Hi Terry:  It's mainly because I'm struggling with embed points, etc.

Here's what I need to do:

1. Open the memory form with the fields needed to produce the email.
2. Print the pdf
3. Capture the pdf name
4. Rename the pdf
5. Call SendMail with the parameters
6. Wait for a response and close Form

It's easy to use the PDF Button -- it also creates the link for previewing the file.  I'm not sure where to embed Printing the PDF and displaying the link so it doesn't get cleared when the user enters information.

Probably doesn't make a lot of sense.  That's why I asked.

Thanks,

Jim

29
Hi All: This will be easy, but I'm having trouble figuring out where to handle it. 

I have an email Form that contains a Button to generate a pdf report that will be attached to the email.  The Button to create the pdf file needs to be pushed prior to "Send."  It works fine as long as the user remembers to first create the attachment.  I've tried a couple of things, but haven't gotten it right.  I am using a Progress control and have a "Preview" link that appears when the report is done.

Many thanks,

Jim


Pages: 1 [2] 3 4 ... 14