mrc Documentation
michaels, ross & cole, ltd.
http://www.mrc-productivity.com/

 

 

Upgrading to Web 2.0 templates & Advanced Record Level Security

Congratulations on moving to Web 2.0 - this series of templates include many new features that will enhance end user experience and also make it easier for you as a developer to build your applications.

To accomplish Advanced Record Level Security with Web 2.0, you will need to make a few changes.

1. First, you should COPY your old Inquiry External Object Security Look-Up Inquiry (lets call it Inquiry 50). Recompile this application to use the WEB 2.0 Multi Record Inquiry template for compatibility.

2. So let's say you’ve copied your old Security Look-Up application (Inquiry 50) to your new WEB 2.0 Template. Your new application is Inquiry 85. With this information in hand you will need to create another external object that points to Inquiry 85 (The new Web 2.0 Application). Note - Don't forget to create the parameters for this external object.

(Note: Not shown – Creating the Parameter for this External Object based on the value used to enforce security).

3. Next, when you are working with your Main Application that will have the advanced record level security, don't forget to select the newly created external object, with the location of *ADVRECSEC. Note: Your “Main Application” must use one of the new Web 2.0 Templates.

4. Lastly, you will need to locate the mrcSignon2.xml and mrcSignon2.html files located in /mrcjava/mrcclasses. Next, you will need to copy them into the appropriate data dictionary. Note: mrcSignon2.html no longer uses the connection properties information that the old mrcSignon.html needed. Instead, this information is stored in the mrc-spring-context.html, located in /mrcjava/WEB-INF/classes.


Other Notes Regarding Web 2.0 Security:

Some syntax has been modified since Classic Security. These changes have been documented below: