Apart from ensuring my login has write access to the AFDatabase is there anything else I need to do enable updating attributes using the AF Properties windows in Process Book?
I have this morning tried running ProcessBook “As Administrator” on the target machine and I can modify and save information in the AF database with from the element/attribute browser window.
I thought I was logging into the machine as Administrator and hence did not really consider this before.
So for now I have put a shortcut to the ProcessBook EXE on their desktop and with a right click they can choose to run as Administrator from there.
I shall therefore hand this question over to their IT department regarding policies etcetera.
Thank you for your assistance and encouragement.
UKM : +44 (0)7767 317486
UK : +44 (0)1330 830038
You will also need a mapping or a trust to the PI Data Archive if you are trying to write to an AFAttribute that is PIPoint Data Reference driven.
Another thing to note is that I couldn't find a way to check in a static attribute using Processbook so that might pose as an obstacle to updating static attributes.
Thank you for replying.
From the work station that we are using we can already have System Explorer and can write to the database using that OK.
The workstation has a trust with the PIServer.
I tend to think it must therefore be the Process Book application that is the blockage.
In the Process Book help, when you enter the search string “READ WRITE” it returns information about settings for a file called “Piserver.txt”.
We found a file with that name on our server but it does not seem to have text in it.
The help file indicates we can selectively enable/disable write access to PI Process Books for different named workstations using this facility.
I do not see anything in system management tools utility that might provide an editor for “Piserver.txt”.
Still bemused …….!
If it works fine with the PSE on the same machine. It shouldn't be a security issue. As I mentioned before, I couldn't update static attributes because I can't check them in using Processbook. What kind of attributes are you trying to update? Which Data Reference type?
The DR functionality presumably happens on the server so PI points, formulas, table lookups etcetera all work and the data appears for both System Explorer and Process Book.
In Process Book however nothing is writeable interactively, to begin we are simply attempting to enter a numerical value directly into an attribute value as an override entry.
Using System Explorer, where interactive access is enabled the attribute value field changes to allow data entry and the number entered can then be stored with Check In.
It works on our test system for both System Explorer and Process Book but not on the production system, on the production system only System Explorer has interactive functionality to write although I thought Process Book and System Explorer both use the same tools.
Both are being run from the same account but we do get an unusual message when we launch System Explorer (that I have also never seen before) on the production workstation, at start-up it asks if we wish to elevate permissions and out of habit I just say yes. When I was there this morning I should have tried doing it without elevated permissions, this might have produced the same result.
I have looked to see if when I right click on the Process Book launch item it gives a “Run As Administrator” option but I could not see it. Maybe I should have tried it from File Explorer too launching the EXE itself rather than the shortcuts in the menu.
You mentioned "It works on our test system for both System Explorer and Process Book but not on the production system,"
I was wondering how did you manage to 'Check In' a value into an Attribute that has no data reference? I couldn't find a way to do that in Processbook.
We have the Modeler AddIn/PlugIn, whatever you want to call it. When that is loaded it gives so extra options in the File Menu and Browser Windows to see the AF data.
Two of the extra options in the File Menu are CheckIn/Checkout.
I understand that running PI ProcessBook as administrator has resolved the issue you had to update the attributes?
If this is the case, you can mark your answer as "Correct Answer" this can certainly help others.
ps: I have just marked the discussion as a question, its was not possible to mark the answer prior to that, so you could not have done it before
Have a nice day
I am not very good with web interfaces.
I hope I have done what you requested.
I think I have marked the last entry by myself as SUCCESS.
If I have not succeeded let me know and I shall have another go.
I am glad that it is working well for you now!
Retrieving data ...