In PWA -> Server Settings, I can create lookup tables and then create custom fields which are placed on PDP. However I needed a bit more, so I created custom web part to include multiple check boxes and placed it on PDP. When I create a EPT, all custom fields created in server settings persist their values after clicking "save" or "next" on the ribbon except for my custom control. How can I achieve the same and persist the user selected values? Your help is always appreciated.
Do you mean to say that when you click on Save button on the ribbon your custom webpart's data should be saved? If yes, you need to hook up your web part with the Save button on the ribbon. Here you'll find of what I'm talking about. Kindly let me know if this is what you were looking for.
I actually wanted to save the data selected in Project Server database for ease of reporting in future. Hooking the save would have been one of the steps, had rest of the steps completed as expected. I tried multiple combinations to no avail and at the end of the day, I implemented a custom store to hold the value from my custom web part. I was able to explore some features, though might not work in my current situation but, can work in other scenarios. Here is quick outline:
- authenticated user on PSI (LoginWindows ASMX)
- retrieve ProjectWssDataSet (Project ASMX)
now if i want to automate some functionality such as updating a field (custom field created in Project Server) based on another value, so I will
- force checkin the project (Project ASMX)
- checkout the project (Project ASMX)
- make changes and check in (Project ASMX)
The user in the app pool might not have sufficient rights to (LoginWindows), so an appropriate account can be used (Credentials).
- 回答の候補に設定 Amit Khare - Project Management Consultant 2012年5月18日 7:22
But your first question can only be done through hooking up of Save button. As I've done that before I know it's not a very straightforward way. Anyway I'm glad your problem solved!