How to edit enterprise custom field for task from project web app - project

I have created multiple enterprise custom fields for my organization at the task level. Now I want to edit those fields. One field is a custom "Confirmed" flag (I know one already exists but we need our own version.)
How can I edit that flag now? I see you can do this at the project level but it appears I can only display it at the task level. This is for Project 2013 online. I know how to do it in the desktop version, just not the online version.

You edit enterprise custom fields from the PWA settings screen. If it's a flag it's a yes/no on/off "flag". If you want to update the option for that "flag" at the task level you need to create a view in PWA that brings in the field so you can change the field or add the field to a view in Project Professional and update the field that way.

Related

Is There a way to get a List of all the Enterprise Fields a user on Project Server has In Use?

I'm building a MS Project VSTO tool (written in C#) that in many instances needs to either read or write data from a field in MS Project. Since I don't always know what field will contain the data I need, I many times need to allow the user the option to select the field they want. Getting all the basic fields is easy, my issue arises if a user is in a Project Server environment and using Enterprise fields. So my question is 2 fold:
Is there a way to check if the user is in a Project Server environment?
Is there a way to easily get all of the custom enterprise fields that are being used in MS Project? I'd like to be able to capture these fields in a collection like a list or array.
Is there a way to check if the user is in a Project Server
environment?
Look at the collection of Profiles to see if there is a project server one and check its ConnectionState to see if it's connected to a project server.
Is there a way to easily get all of the custom enterprise fields that
are being used in MS Project? I'd like to be able to capture these
fields in a collection like a list or array.
If you have access to the project server, take a look at this page, Accessing Project Online enterprise custom fields. Without access to the server I suggest:
Loop through all tables and their fields to find enterprise ones.
Allow the user to enter the name of enterprise fields and store that information for future use so that it's a one-time 'setup' for the user.

Which of my two approach is right to update SQL table from TFS workitem collection object

I had developed one small application which will fetch data from TFS project workitemcollection object and store it into SQL table.
Now I want to update database regularly. What I have done is, I have created as service which will create new tfs project workitemcollection object and update database based upon two checks i.e. if defect id is already present in table it will update the SQL row with new values and if not it will insert the new values.
ISSUE: In one scenario the defect from one tfs project has been moved to another tfs project but SQL still contains that id in old project.
Ways I can think of: another check from opposite direction to verify if defectId is not present in collection then delete it.
OR,
Every time service run delete the old table and fill the complete table with new and updated data.
What will be the best option or if there is third one?
You can consider creating a server side plugin for TFS to listen to the work item change event. Once the event triggered, create/update/delete the record in your SQL table.
If you use TFS 2013 and previous versions, check TFS 2013 event handling on work item change to create the server plugin.
If you use TFS 2015 and later versions, including the solution above in TFS 2013, you can also use Web Hooks to send a JSON representation of an event to any service.

TFS Checked in items not available in view history (intermittent)

I have recently experienced a strange problem in tfs source control . I added some code in two different parts of n-tier solution in visual studio 2012; code behind aspx.vb file and class library project, they appeared in pending changes, I checked-in and did something else in the project but later on I found the changes I made in the code are not there anymore.I checked the view history from source control explorer and those changes are not shown in view history. However If i update existing code base now and do check-in pending changes they are showin in view history. Can any body tell why in first place checked-in changes are gone from tfs or is there anything I can do to retrieve those changes. TFS server is 2008
Thanks
I would suggest that there was something wrong with the workflow you used to perform the first checkin. Checkins are atomic so you can't have some files checked in an others not.
The most common scenario would be that the scope of your checkin was incorrect.
Note: You should move ASAP to upgrade your TFS server to 2013. TFS 2008 no longer revives servicing.

Customize Authentication Dropdown in Business Objects 4.1 BI Launch Pad

Looking for a way to customize the authentication dropdown presented to users when logging into the BI LaunchPad application, version 4.1 (known as InfoView in prior versions). Currently, users are asked to make one of the following choices: Enterprise, LDAP, Windows AD, SAP, JD Edwards Enterprise, Oracle EBS, PeopleSoft Enterprise, and Siebel7.
The BILanchPad.properties file has already been modified as follows:
authentication.visible=true
authentication.default=secEnterprise
This was done to allow the users to choose (some are logging in with Windows AD, most with Enterprise) their authentication type. My goal is to remove the extra options (LDAP, SAP, etc.) so that if a user tries to choose their authentication type, only the two 'valid' options will be visible to them.
Again, I've already set the properties for the default and making the dropdown visible. I'm not interested in changing those, just in limiting the options within the list.
Is there any way to customize what authentication types appear in this drop down?
Authentication Types correlate to what was selected at the time of installation. If you see JD Edwards, Peoplesoft, Oracle EBS, Sievel, etc. then those database types were selected during the time of installation. You can perform a Modify install to add\remove these options.
If they are already listed in the drop down box, you can remove them form the selection list by going to Authentication > choosing the Authentication Type (ie. Oracle EBS), and Disabling the authenticatoin type. This should exclude it from the drop down list.
If you see these authentication types listed in the drop down box, but you do NOT see them listed under the Authentication area -- there may have been a hiccup during a patch or installation. You can resolve by trying to Modify the install, adding the database types, then repeating the Modify, and de-selecting them.

Update module from Database in entity framework without using third party tools

In Entity Framework, I always use the Update module from Database option, but It's not covering all kind of updates, sometimes it's more easier to delete the EF and add it back than fixing and verifying whether this option reflected the updates or not,
In my current project i have added a Self-Join relation and then i used the Update module from Database option, but it didn't update it correctly,
I can find that table and the new relation in the Module diagram but in the code behind it's not reflecting the update correctly, This time i have my custom changes on the EF? It is not possible to delete and add again this time, My question is:
Is there any reliable and easy way to update the EF from DB without
using third party tools?
After clicking the Update module from Database , Two clicks are needed, orderly:
Right Click on the .tt file and choose Run Custom Tool. Wait Until is Finished.
Right Click on the .Context.tt file and choose Run Custom Tool. Wait Until is Finished.
I used this method in Visual Studio 2012 for many scenarios and it's updating fine with no errors.
Hope this helps.