Focal Point
[CASE-OPENED]Maintaining Access List using SQL scripts under WebFocus 8

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8057026286

June 02, 2016, 12:18 PM
FOCdeveloper
[CASE-OPENED]Maintaining Access List using SQL scripts under WebFocus 8
Hi All:
We currently maintain our access lists using SQL scripts. Script looks at the Managed Reporting for User and Group information and our Application Location table for user Locations. Based on these two tables it updates the BOTACCES and BOTLIST tables in Report Caster (7.6.11). Under WebFocus 8, we are told that we cannot update the BOT tables. Is this really the case? Has anyone found a way to update these tables? Has anyone have any other (batch) process the to maintain Access Lists, if yes would appreciate if you can share here..

Thanks

This message has been edited. Last edited by: <Emily McAllister>,


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
June 03, 2016, 08:49 AM
jgelona
They are just tables in a relational database. You can update them just like any table with SQL, MODIFY or MAINTAIN. You just need to be very careful. I update the next run time in BOTSIT.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
June 03, 2016, 11:38 AM
FOCdeveloper
Thank you Jgelooa.

We are not updating the columns. The script recreates the BOTACCESS and BOTLIST table rows. So if a new user is added to Managed Reporting , it would automatically add the entry for that user in the Access List, if it meets the criteria. We don't manually touch the access list. Also if a user gets dropped from MRE, User ID gets dropped form the Access List. Initially when we started the Migration, we were told by IBI that these tables now have auto number regenerated so it is not possible to create rows from any outside process..

How are you adding users to the Access List?

Thanks for your input

This message has been edited. Last edited by: FOCdeveloper,


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
June 03, 2016, 03:17 PM
eric.woerle
FOCdeveloper,

I'm not sure that your javascript process is still necessary, you should be able to share the same groups between Reportcaster and the Conent Area. I would look at the built in functionality a little closer. I have a feeling this is standard functionality in 8.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
June 03, 2016, 05:49 PM
FOCdeveloper
Thanks Eric.. I looked at it, it will let you select groups.. but our process does not just look at groups.. we have locations to consider.. for example we have app 200 locations. SQL Server Script looks at the MRE and our LOCATION table
1) from MRE it knows what group/userid/email is it and knows what access list to create
2) From Our Location table, it knows what is the location of the user ID

Script then creates the rows with the location number in the INDEXVALUE column of the BOTACCESS table.
Our reports are distributed to library with Burst option using the location

with this approach we don't have to add or remove any users from access lists, the script does it for us.

I have asked IBI as well, so far I have not gotten a response

I am sure someone has automated this process, I am hoping they are reading this post. I am open for any other suggestions

Thanks


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7