Workaround for Project Updates in HFM
Posted: Wed Dec 09, 2015 2:54 pm
I got fed up editing ProjectInfo.tab, especially when an un-noticed typo stopped HFM working! So I dreamed up a workaround which others might find useful and I'd appreciate any suggestions for improvement. Use at your own risk, but it seems OK so far.
1) In your browser open the psummary page of your choice (I use psummaryC) and save it as a text (HTML) file. In Chromium that's File => Save Page As, select the "Webpage, complete" format option.
2) Use your favourite editor to remove all <tr class=xxxx> … </tr> blocks containing a "NaN" and Save. It's easier if the editor understands HTML and can indent/format the lines; I use TextWrangler. Good idea to open this file in your browser to check it looks OK.
3) In HFM, go to the "Web Settings" tab in the Preferences pane and change the "Project Download url" entry to point to the above file. (I used the full "file:///C:/Users/ etc " url format; it may not be necessary, I didn't check). OK out and quit HFM.
4) In your …/AppData/Roaming/HFM folder, rename the ProjectInfo.tab file to something else (so you can recover it in case of disaster!)
5) Restart HFM- it should create a new ProjectInfo.tab from the HTML file and continue happily.
When new projects are announced, simply create a new HTML file as above and HFM should automatically get the new details when a client gets a previously "unknown" project. Not yet tested.
Obviously it's not ideal, it depends how assiduously you keep track of new projects in the Announcements section. But that's no different to now, it should make life easier when several new projects are introduced simultaneously and you don't have to worry about typos!
1) In your browser open the psummary page of your choice (I use psummaryC) and save it as a text (HTML) file. In Chromium that's File => Save Page As, select the "Webpage, complete" format option.
2) Use your favourite editor to remove all <tr class=xxxx> … </tr> blocks containing a "NaN" and Save. It's easier if the editor understands HTML and can indent/format the lines; I use TextWrangler. Good idea to open this file in your browser to check it looks OK.
3) In HFM, go to the "Web Settings" tab in the Preferences pane and change the "Project Download url" entry to point to the above file. (I used the full "file:///C:/Users/ etc " url format; it may not be necessary, I didn't check). OK out and quit HFM.
4) In your …/AppData/Roaming/HFM folder, rename the ProjectInfo.tab file to something else (so you can recover it in case of disaster!)
5) Restart HFM- it should create a new ProjectInfo.tab from the HTML file and continue happily.
When new projects are announced, simply create a new HTML file as above and HFM should automatically get the new details when a client gets a previously "unknown" project. Not yet tested.
Obviously it's not ideal, it depends how assiduously you keep track of new projects in the Announcements section. But that's no different to now, it should make life easier when several new projects are introduced simultaneously and you don't have to worry about typos!