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.
1
Web Server - Ask For Help / Re: Desktop File path
« on: May 30, 2024, 04:32:15 PM »
Thanks Sean and others,
Yes I understand the limitations as outlined.
I am using Amazon virtual servers to host and if possible I am trying to limit users access to those server's desktop.
Saving to the Servers backup is currently an option in the app with the users cutting and paste back to their local
However I have found I can using the File Download app bring the backup folder back as a zip file.
which suits and makes it elegant but, the question now is how to programmatically get WinZip to perform the creation of a zip file
Stu Andrews in this thread mentioned rar backups as a possible solution - i am exploring that.
Cheers
Richard
Yes I understand the limitations as outlined.
I am using Amazon virtual servers to host and if possible I am trying to limit users access to those server's desktop.
Saving to the Servers backup is currently an option in the app with the users cutting and paste back to their local
However I have found I can using the File Download app bring the backup folder back as a zip file.
which suits and makes it elegant but, the question now is how to programmatically get WinZip to perform the creation of a zip file
Stu Andrews in this thread mentioned rar backups as a possible solution - i am exploring that.
Cheers
Richard
2
Web Server - Ask For Help / Re: Desktop File path
« on: May 29, 2024, 06:58:05 PM »
Ron,
In my post you will note I am trying to direct a folder to the users desktop
It appears that the dos filepath template available in Clarion is not applicable to Webapps
So Im creating a folder, copying tps files to it and then the intention is to copy that folder to the users desktop
(The backup routine is working and currently the user needs to navigate to the app folder,copy and paste)
Its similar intent to the file download app but a folder does not have a suffix.
I await in eager anticipation.....
Regards,
Richard
In my post you will note I am trying to direct a folder to the users desktop
It appears that the dos filepath template available in Clarion is not applicable to Webapps
So Im creating a folder, copying tps files to it and then the intention is to copy that folder to the users desktop
(The backup routine is working and currently the user needs to navigate to the app folder,copy and paste)
Its similar intent to the file download app but a folder does not have a suffix.
I await in eager anticipation.....
Regards,
Richard
3
Web Server - Ask For Help / Desktop File path
« on: May 28, 2024, 09:17:52 PM »
Hello
I have a backup routine with a string field called loc:desktopfilepath
I want the user to be able to lookup their own local desktop path so the created folder is copied there....
Is there a way?
Thanks Richard
NT 14.22
IF p_web.GSV('loc:Desktopfilepath') = ''
locsite = 'VisaBackup'&'-'&FORMAT(today(),@D11) ! loc:Alert ='Desktop filepath is empty - populate location'
ELSE
locsite = p_web.GSV('loc:Desktopfilepath')&'\VisaBackup'&'-'&FORMAT(today(),@D11)
END
CreateDirectory(locsite)
copy('User.tps',locsite)
etc
I have a backup routine with a string field called loc:desktopfilepath
I want the user to be able to lookup their own local desktop path so the created folder is copied there....
Is there a way?
Thanks Richard
NT 14.22
IF p_web.GSV('loc:Desktopfilepath') = ''
locsite = 'VisaBackup'&'-'&FORMAT(today(),@D11) ! loc:Alert ='Desktop filepath is empty - populate location'
ELSE
locsite = p_web.GSV('loc:Desktopfilepath')&'\VisaBackup'&'-'&FORMAT(today(),@D11)
END
CreateDirectory(locsite)
copy('User.tps',locsite)
etc
4
Web Server - Ask For Help / Re: Need to delete CLW and OBJ and recompile for changes to take effect
« on: April 17, 2024, 08:38:41 PM »
Thanks for that useful Tip Bruce
Cheers
Richard
Cheers
Richard
5
Web Server - Ask For Help / Re: Solved - Login window not centered
« on: April 17, 2024, 03:01:07 PM »
Thanks Bruce,
I solved the issue last night-
In my Custom.css file in the login-form-width I had cleverly included !Important
on one of the early lines
I removed that and recompiled - solved ! Now login form nicely centered
Cheers
Richard
I solved the issue last night-
In my Custom.css file in the login-form-width I had cleverly included !Important
on one of the early lines
I removed that and recompiled - solved ! Now login form nicely centered
Cheers
Richard
6
Web Server - Ask For Help / Re: Need to delete CLW and OBJ and recompile for changes to take effect
« on: April 16, 2024, 12:54:07 AM »
Bruce,
I thought one supported the other so I have always deleted both.....
I will force a change and see which one deleted allows the change
I thought one supported the other so I have always deleted both.....
I will force a change and see which one deleted allows the change
7
Web Server - Ask For Help / Need to delete CLW and OBJ and recompile for changes to take effect
« on: April 15, 2024, 03:24:05 PM »
Hello
Why do I need to delete the clw and the obj for some changes to take effect?
for example in a browse I had two columns which were Edit in Place
Although I deleted the checkbox tick for edit in place and recompiled, the fields were still EIP active,
and the changes did not take effect until the deletion of the CLW and OBJ and a recompile.
I have the same issue when changing column header names, and button renaming
Thanks
Richard
C 11.1.13855EE
NT 14.20
Why do I need to delete the clw and the obj for some changes to take effect?
for example in a browse I had two columns which were Edit in Place
Although I deleted the checkbox tick for edit in place and recompiled, the fields were still EIP active,
and the changes did not take effect until the deletion of the CLW and OBJ and a recompile.
I have the same issue when changing column header names, and button renaming
Thanks
Richard
C 11.1.13855EE
NT 14.20
8
Web Server - Ask For Help / Re: Including on Report the total count of records displayed
« on: April 05, 2024, 12:34:49 AM »
Thank you Jane- Works Perfectly
I left the code in the ServerSide Code in a Button, but removed the report name from Onclick
Then I created a second button "write Report" and included the Reportname in OnClick
Ran them both
Report has the Count !!!
Cheers
Richard
I left the code in the ServerSide Code in a Button, but removed the report name from Onclick
Then I created a second button "write Report" and included the Reportname in OnClick
Ran them both
Report has the Count !!!
Cheers
Richard
9
Web Server - Ask For Help / Including on Report the total count of records displayed
« on: April 03, 2024, 07:41:07 PM »
Hi
I have a report where I am totalling the number of records being displayed using loc:Count+=1
A stop statement into the Serverside code returns a total number correctly both as loc:Count and as p_web.GSV('loc:Count')
My problem is getting the count value to display in the Header of the report.
Ive tried in WindowManager OpenReport Procedure after Parent Call SetTarget(report)
and in PrimeReportOptions when run in web mode...
loctotal = p_web.GSV('loc:Count')
where loc:Total is a long N_4
But both return 0 in the report
What do I need to do , please?
Thanks
Richard
NT 14.20
I have a report where I am totalling the number of records being displayed using loc:Count+=1
A stop statement into the Serverside code returns a total number correctly both as loc:Count and as p_web.GSV('loc:Count')
My problem is getting the count value to display in the Header of the report.
Ive tried in WindowManager OpenReport Procedure after Parent Call SetTarget(report)
and in PrimeReportOptions when run in web mode...
loctotal = p_web.GSV('loc:Count')
where loc:Total is a long N_4
But both return 0 in the report
What do I need to do , please?
Thanks
Richard
NT 14.20
10
Web Server - Ask For Help / Re: Freezing when applying security to buttons
« on: April 03, 2024, 12:38:16 PM »
Hi Bruce,
the problem of freezing applied to On the browse line buttons
Simply removed them and just using the below browse change delete buttons which will hide with security applied.
Thanks
Richard
the problem of freezing applied to On the browse line buttons
Simply removed them and just using the below browse change delete buttons which will hide with security applied.
Thanks
Richard
11
Web Server - Ask For Help / Re: Login window not centered
« on: March 29, 2024, 11:10:52 AM »
Two Screen shots Jeff
12
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 07:45:23 PM »
thanks
In the login Tab properties
All fields from Labels to Suppress are set as Default
is that correct?
I attach my Custom CSS in case.......
Cheers
Richard
In the login Tab properties
All fields from Labels to Suppress are set as Default
is that correct?
I attach my Custom CSS in case.......
Cheers
Richard
13
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 07:26:22 PM »
Yes I do thanks....
14
Web Server - Ask For Help / Re: Login window not centered
« on: March 28, 2024, 01:26:48 PM »
Thanks Jeff,
No Joy with Control F5
I have replaced in the Form Div ' nt-fix-center nt-width-300px'
with
' nt-fix-center login-form-width'
and added my custom Css file into ThisWebServer Settings ->Styles ->Files as
'rji-custom.css'-Browser:All
Ran Gzipall
For completeness ,this is my custom CSS
.login-form-width{
width: 300px; !important;
line-height: 1.0em;
margin: 0 auto;
}
On Running the login form spans the page as per attachment.....
Cheers
Richard
No Joy with Control F5
I have replaced in the Form Div ' nt-fix-center nt-width-300px'
with
' nt-fix-center login-form-width'
and added my custom Css file into ThisWebServer Settings ->Styles ->Files as
'rji-custom.css'-Browser:All
Ran Gzipall
For completeness ,this is my custom CSS
.login-form-width{
width: 300px; !important;
line-height: 1.0em;
margin: 0 auto;
}
On Running the login form spans the page as per attachment.....
Cheers
Richard
15
Web Server - Ask For Help / Freezing when applying security to buttons
« on: March 28, 2024, 01:23:10 AM »
Using NT 14.20
I want to hide the <delete> and <change> buttons on Forms and Browses by User security level.
On the Security Tab of the button , Im changing "default" to YES and adding 100 as the security level,
compile and run...
On the Browse for example scrolling by using "next" the Browse freezes and greys out.
Returning to "default" restores normal function.
Can you check this please Bruce?
Cheers
Richard
I want to hide the <delete> and <change> buttons on Forms and Browses by User security level.
On the Security Tab of the button , Im changing "default" to YES and adding 100 as the security level,
compile and run...
On the Browse for example scrolling by using "next" the Browse freezes and greys out.
Returning to "default" restores normal function.
Can you check this please Bruce?
Cheers
Richard