Hi Arntksorli...Here are some definitions from the PDMS help pages.
PML REHASH
When you create a new PML Form while an AVEVA product is running, you must link in the file storing the form by giving this command.
It causes PML to scan all the directories under the PMLLIB path, and to create a file pml.index, which contains a list of all the .pmlfrm files in the directories.
&
PML INDEX
This command re-reads all the pml.index files in your search path without rebuilding them.
If other users have added PML Files and updated the appropriate pml.index files, you can access the new files by giving this command.
What does the rehash do other than creates the pml.index file? Since I already have injected the pml.index file on the root of the added source and updated pmllib search path. I thought the "pml index" command should be sufficient.
Maybe I can tell also why I don't want to use the rehash command; There have been reported issues before, when the db is located on shared drives, that the rehash overwrites the pml.index file for all users sharing the same db. I did not think that was the case, but I'm instructed to avoid the use of the rehash command.
If someone can confirm that this is not the case I'd appreciate that and with an explanation :)