How to fill Lookup table run time with desired values in project server 2010.

HI,
is this possible to fill LookUp Table with some Desired Values at Runtime ??
Or How to bind a LookUp table with DataBase  Table??

Dear Rohan,
You need to do this via PSI script for lookup table.
Follow this blog Chris Boyd:
http://blogs.msdn.com/b/project_programmability/archive/2006/11/08/adding-a-project-to-a-category.aspx
Regards,
Avinash kumar | Blog:http://avigr8.wordpress.com | If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”.

Similar Messages

  • How to disable the edit Permission after the task approval in project server 2010.

    Hi ,
    Can this be done.
    How to disable the edit Permission after the task approval in project server 2010.
    I mean How to Disable approve/Reject Permission Once task approved in project server 2010.
    Any Help Would be more than Welcome.

    Hi Rohan,
    Just talking about the tool capabilities, preventing a task approver (status manager) to approve/reject updates once he has already approved once is not possible out-of-the-box. You grant permissions to user: if you grant a user to approve task updates then
    he has the permission to approve updates, no matter if it is the 2nd or 3rd time the task is approved or rejected.
    Then of course you could do not custom development to do that.
    I'd say that in order to help you, we would need to understand a little bit more your business need. Why do you need to achieve such a goal? We can surely propose you workaround.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Problem with the% deviation from Project Server 2010 field

    hello
    I have a problem with the% deviation from Project Server 2010 field.
    Within a file or project, this project contains tasks.
    Each task has completed the field% deviation.
    Within the row "Summary" in the field of% deviation does not perform the sum of all fields of tasks.
    Only occurs on certain projects, these projects have the view of PR Progress Report
    Anyone know happens?
    thank you very much

    Hi
    Sorry, I'll be more specific now.
    Within the field% deviation. Your settings in PWA is:
    The formula for field% Deviation:
    Str (IIf ([Job baseline] = 0; IIf ([Working] = 0, 0, 100); IIf ([Working] = 0; -100; Int (100 * ([Job] - [Work Online base]) / [Working baseline])))) + "%"
    Under the heading rows Calculation Summary:
    > Use formula.
    Within the field Allocation Calculation of rows:
    > It is labeled the "Apply unless you manually specify".
    The field [Job] and field [Job baseline] are fields Pack project server.
    The error is in project, in the list of tasks.
    In the top row, this row summary makes the sum of the ranks of the tasks of the file.
    But in my case only in the summary field the same value appears in the tasks.
    In all the cells in column% deviation appears the same value.
    I hope it helps.
    thank you very much

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to add total of actual in My work- Task in project server 2010.

    Hello all, 
    I need to add total of actual in My work->Task in project server 2010.
    How can I achieve it?
    Your help is appreciated. 

    Hi Rohit,
    Unfortunately, there is no configuration which allows having the actual total work in "my tasks" page. Note that you have the total for the period for each assignment in the column next to the "work" column. In case it doesn't suit
    your need, I'd suggest to propose for example a simple report, otherwise a development could be quite complex and time consuming.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to instantiate classes at run time with constructors having arguments?

    I have to instantiate some classes in the run-time because they are plugins. The name of the plugin (pluginClassName) comes from a configuration file.
    Currently I am doing this to achieve it:-
    UIPlugin plugin = (UIPlugin)Class.forName(pluginClassName).newInstance();However, there is a disadvantage. I can not pass arguments to the constructor of the plugin.
    public class RainyTheme extends UIPlugin {
      public RainyTheme() {
       // bla bla
      public RainyTheme(int x, int y , int width, int height) {
       // set co-ordinates
       // bla bla
      // bla bla bla bla
    }Now if I want to instantiate this plugin at runtime and at the same time I want to pass the 4 arguments as shown in the second constructor, how can I achieve this?

    I have no experience with JME and the limitations of its API, but looking at the API docs ( http://java.sun.com/javame/reference/apis.jsp ) it seems that there are two main versions, CLDC and CDC, of which CLDC is more limited in its API.
    The Class class does not contain the methods getConstructor(Object[]) or getConstructors() in this version ( http://java.sun.com/javame/reference/apis/jsr139/java/lang/Class.html ), so it seems that if you are using CLDC then there is no way to reflectively call a constructor with parameters. You'd have to find another way to do what you want, such as use the noarg constructor then initialise the instance after construction.

  • How to Edit Custom Fields of Project Server 2010 Programatically

    Hello,
    I want to change the Custom field value of Project Server 2010. I am following the brain article. My problem is the code run successfully but the changes did not reflect to the Project server. Following is my code, Any Help??
    private void UpdateRecordInProjectServer(string newValue, string projGuid, string propertyToEdit)
                ProjectSoapClient projectSvc = new ProjectSoapClient();
                CustomFieldsSoapClient customfieldSvc = new CustomFieldsSoapClient();
                CustomFieldDataSet fieldDefs = customfieldSvc.ReadCustomFields(string.Empty, false);
                LookupTableSoapClient loockuptableSvc = new LookupTableSoapClient();
                Guid projectId = new Guid(projGuid);
                ProjectDataSet projectDs = projectSvc.ReadProject(projectId, ListProjects.Project.DataStoreEnum.WorkingStore);
                foreach (ProjectDataSet.ProjectCustomFieldsRow cfRow in projectDs.ProjectCustomFields.Rows)
                   // projectDs.ProjectCustomFields.RemoveProjectCustomFieldsRow(cfRow);
                    CustomFieldDataSet.CustomFieldsRow fieldDefinition = fieldDefs.CustomFields.Single(
                            cfd => cfd.MD_PROP_UID == cfRow.MD_PROP_UID);
                    if (fieldDefinition.MD_PROP_NAME == propertyToEdit)
                        cfRow.TEXT_VALUE = newValue;
                    //projectDs.ProjectCustomFields.AddProjectCustomFieldsRow(cfRow);
                    projectDs.ProjectCustomFields.AcceptChanges();
                Guid sessionUid = Guid.NewGuid();
                Guid jobUid = Guid.NewGuid();
                if (!IsProjectCheckedOut(projectId))
                    projectSvc.CheckOutProject(projectId, sessionUid, "Updating
    CF");
                    jobUid = Guid.NewGuid();
                    projectSvc.QueueUpdateProject(jobUid, sessionUid, projectDs, false);
                    System.Threading.Thread.Sleep(4000);
                jobUid = Guid.NewGuid();
                projectSvc.QueueCheckInProject(jobUid, projectId, false, sessionUid, "Updating
    CF");
                System.Threading.Thread.Sleep(4000);
                jobUid = Guid.NewGuid();
                projectSvc.QueuePublish(jobUid, projectId, true, SPContext.Current.Site.Url);
                System.Threading.Thread.Sleep(4000);
    Muhammad Ali

    Try this instead of your last section(after last "if" statement):
    jobUid = Guid.NewGuid();
                projectSvc.CheckOutProject(projectId,
    sessionUid, "Updating CF");
                System.Threading.Thread.Sleep(4000);
                projectSvc.QueueUpdateProject(jobUid, sessionUid,
    projectDs, false); 
    System.Threading.Thread.Sleep(4000);
                projectSvc.QueuePublish(jobUid, projectId, true, SPContext.Current.Site.Url);
                System.Threading.Thread.Sleep(4000);
    Here is QueueUpdateProject inserted before Publish and checkIn replaced with checkOut

  • How to fill internal table with selection screen field.

    Hi all,
    i am new to sap . pls tell me how to fill internal table with selection screen field.

    Hi,
    Please see the example below:-
    I have used both select-options and parameter on the selection-screen.
    Understand the same.
    * type declaration
    TYPES: BEGIN OF t_matnr,
            matnr TYPE matnr,
           END OF t_matnr,
           BEGIN OF t_vbeln,
             vbeln TYPE vbeln,
           END OF t_vbeln.
    * internal table declaration
    DATA : it_mara  TYPE STANDARD TABLE OF t_matnr,
           it_vbeln TYPE STANDARD TABLE OF t_vbeln.
    * workarea declaration
    DATA : wa_mara  TYPE t_matnr,
           wa_vbeln TYPE t_vbeln.
    * selection-screen field
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
    PARAMETERS : p_matnr TYPE matnr.
    SELECT-OPTIONS : s_vbeln FOR wa_vbeln-vbeln.
    SELECTION-SCREEN: END OF BLOCK b1.
    START-OF-SELECTION.
    * I am adding parameter value to my internal table
      wa_mara-matnr = p_matnr.
      APPEND wa_mara TO it_mara.
    * I am adding select-options value to an internal table
      LOOP AT s_vbeln.
        wa_vbeln-vbeln =  s_vbeln-low.
        APPEND  wa_vbeln TO  it_vbeln.
      ENDLOOP.
    Regards,
    Ankur Parab

  • How to fill internal table dynamically

    Hi All,
       how to fill internal table dynamically.
    for example:
    begin of itab occurs 0,
    empid like pa0000-pernr,
    empname like pa0001-ename,
    grade(5),
    end of itab.
    now i want to append dynamically field itab-grade along with rest fields.
    is this possible?? if yes kindly let me know how to do that.
    Regards,
    Kiran I

    Hi kiran,
    To fill and create and internal table dynamically you can use this code.
    TYPE-POOLS: slis.
    DATA: it_fcat TYPE slis_t_fieldcat_alv,
          is_fcat LIKE LINE OF it_fcat.
    DATA: it_fieldcat TYPE lvc_t_fcat,
          is_fieldcat LIKE LINE OF it_fieldcat.
    DATA: new_table TYPE REF TO data.
    DATA: new_line  TYPE REF TO data.
    FIELD-SYMBOLS: <l_table> TYPE ANY TABLE,
                   <l_line>  TYPE ANY,
                   <l_field> TYPE ANY.
    is_fieldcat-fieldname = 'FIELD1'.
    is_fieldcat-ref_field = 'MATNR'.
    is_fieldcat-ref_table = 'MARA'.
    APPEND is_fieldcat TO it_fieldcat.
    is_fieldcat-fieldname = 'FIELD2'.
    is_fieldcat-ref_field = 'SPRPS'.
    is_fieldcat-ref_table = 'PA0001'.
    APPEND is_fieldcat TO it_fieldcat.
    is_fieldcat-fieldname = 'FIELD3'.
    is_fieldcat-ref_field = 'BEGDA'.
    is_fieldcat-ref_table = 'PA0002'.
    APPEND is_fieldcat TO it_fieldcat.
    Create a new Table
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = it_fieldcat
      IMPORTING
        ep_table        = new_table.
    Create a new Line with the same structure of the table.
    ASSIGN new_table->* TO <l_table>.
    CREATE DATA new_line LIKE LINE OF <l_table>.
    ASSIGN new_line->* TO <l_line>.
    Test it...
    DO 40 times.
      ASSIGN COMPONENT 'FIELD1' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = '12345'.
      ASSIGN COMPONENT 'FIELD2' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = 'X'.
      ASSIGN COMPONENT 'FIELD3' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = '20030101'.
      INSERT <l_line> INTO TABLE <l_table>.
    ENDDO.
    LOOP AT <l_table> ASSIGNING <l_line>.
    ASSIGN COMPONENT 'field1' OF STRUCTURE <l_line> TO <l_field>.
      WRITE  / <l_line>.
    ENDLOOP.
    regards,
    Aashish Garg

  • How to fill a table?

    hello all!
    i need to display a result set in a html table. I'm kinda confused with how the table will be filled up, since the table will grow depending on the number of records that the DB table has.
    here is what i have:
    <table border="1">
            <th>Row</th><th>Name</th><th>User/Dept</th><th>Use</th><th>Last Update</th><th>Updated By</th><th> </th>
           <%
            try{Connecting con = new Connecting();
                                ResultSet rs;
                                ResultSet rs;
                                String s[]= new String[10];
                                int x=0;
                                %>
                                <%
                                con.connect();
                                rs = con.viewUsers();
                                x= rs.getRow(); %>
                   <%while(rs.next()){%>
                   <%s[x]=rs.getString(1)
                   %>            
            <tr>
                <td></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%><td></td> <td>
            </tr>
        </table>

A: how to fill a table?

Hey!
Thanks for the hint, i'm getting the table filled, but now my issue is that its not showing the right data.
first the query i'm using:
public ResultSet viewUsers(){
        try{
            ps = conMsg.prepareStatement("SELECT  name + ' '+ lastName as 'Name', userDeptName as 'User/Dept.' , userDeptCategory as 'Use', lastChangedDate + ' ' + lastChangedTime as 'Last Update', lastChangedBy as 'Updated By:' from SystemUser");
            rs = ps.executeQuery();
        }catch(Exception e){
            e.getMessage();
            e.printStackTrace();
       return rs;
    }here is my code inside the jsp page:
<table border="1">
        <th>Row</th><th>Name</th><th>User/Dept</th><th>Use</th><th>Last Update</th><th>Updated By</th><th></th>
       <%
        try{Connecting con = new Connecting();
                            ResultSet rs;
                            String s[]= new String[10];
                            int x=0;
                            %>
                            <%
                            con.connect();
                            rs = con.viewUsers();
                            x= rs.getRow(); %>
        <tr>
             <%while(rs.next()){%>
                <%s[x]=rs.getString(1); %>
                <td></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%><td></td><a href="#">View</a> <a href="#">Modify</a> <a href="#">Delete</a><td>
        </tr>
             <%
              }catch(Exception e){}   %>
    </table>

Hey!
Thanks for the hint, i'm getting the table filled, but now my issue is that its not showing the right data.
first the query i'm using:
public ResultSet viewUsers(){
        try{
            ps = conMsg.prepareStatement("SELECT  name + ' '+ lastName as 'Name', userDeptName as 'User/Dept.' , userDeptCategory as 'Use', lastChangedDate + ' ' + lastChangedTime as 'Last Update', lastChangedBy as 'Updated By:' from SystemUser");
            rs = ps.executeQuery();
        }catch(Exception e){
            e.getMessage();
            e.printStackTrace();
       return rs;
    }here is my code inside the jsp page:
<table border="1">
        <th>Row</th><th>Name</th><th>User/Dept</th><th>Use</th><th>Last Update</th><th>Updated By</th><th></th>
       <%
        try{Connecting con = new Connecting();
                            ResultSet rs;
                            String s[]= new String[10];
                            int x=0;
                            %>
                            <%
                            con.connect();
                            rs = con.viewUsers();
                            x= rs.getRow(); %>
        <tr>
             <%while(rs.next()){%>
                <%s[x]=rs.getString(1); %>
                <td></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%><td></td><a href="#">View</a> <a href="#">Modify</a> <a href="#">Delete</a><td>
        </tr>
             <%
              }catch(Exception e){}   %>
    </table>

  • How to restore a table using RMAN with previous backup ?

    Hi everyone,
    we have to restore a table from 1 week previous backup using RMAN.
    Could you show me how to restore a table using RMAN with previous full backup.
    please Help me out.
    Thanks
    Info > oracle 10g, OS: AIX5L

    Hi,
    first of all you must have all the archivelogs since you want to recover your table from the previous backups.
    anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
    thanks..

  • How to fill forms in adobe reader with lithuanian fonts?

    How to fill forms in adobe reader with lithuanian fonts?
    when i switch on my pc alt+shift to lithuanian language i can only use 2 lithuanian fonts, for other lithuanian fonts i get only blank
    could someone help me to solve this case?

    Adobe Acrobat.  A bit expensive just to change the document background...

  • How can I test the running time of a method?

    c.What is the running time of your method smallest, as a function of n, the number of elements in the list? Use big-Oh notation.
    I quoated from a java problem..
    Anyone can tell me how I can test the running time? Thanks ! :D

    it depends on what is in the method. For example a for loop executed n times would have a O(n). A double for loop (each loopp run n times) will have O(n^2). Do this: determine how many times each loop in the method is run. This is the first term in your runtime equation. Do this for all other loops in the method and add them all together. Most other statements that are not iterative should have a constant runtime so O(1). For conditional statements, the runtime depends on the most time consuming portion of the statement. Once all these are added together, take the O(equation) which should just leave the biggest term. i.e. O(5n^2+3n+8) = O(n^2). Hope this helps.
    note: this does not apply to recursive methods

  • How to create labeled table of Content with expand and collapse

    Hi All,
    Can somebody help me how to create labeled table of Content with expand and collapse as example given below:
    User1
    Template1
    Template2
    User2
    +
    User3
    Template1
    Template2
    Like when we see expand (+) and collapse (-) button when we click on 'about this page' link.
    Thanks
    Bhupendra

    Hi,
    Tou can use Table inside table to show the details this way but I'm not sure about Expand/Collapse.
    Expand/Collapse are part of HGRID.
    I think we can develop this functionality with little manipulation.
    Regards,
    Reetesh Sharma
    Edited by: Reetesh Sharma on Jun 28, 2010 4:56 AM

  • How Can I replace newScale Text Strings with Custom Values?

    How Can I replace newScale Text Strings with Custom Values?
    How can I replace newScale text strings with custom values?
    All  newScale text is customizable. Follow the procedure below to change the  value of any text string that appears in RequestCenter online pages.
    Procedure
    1. Find out the String ID of the text string you would like to overwrite by turning on the String ID display:
    a) Navigate to the RequestCenter.ear/config directory.
    b) Open the newscale.properties file and add the following name-value pair at the end of the file:res.format=2
    c) Save the file.
    d) Repeat steps b and c for the RmiConfig.prop and RequestCenter.prop files.
    e) Stop and restart the RequestCenter service.
    f) Log  in to RequestCenter and browse to the page that has the text you want  to overwrite. In front of the text you will now see the String ID.
    g) Note down the String ID's you want to change.
    2. Navigate to the directory: /RequestCenter.ear/RequestCenter.war/WEB-INF/classes/com/newscale/bfw.
    3. Create the following sub-directory: res/resources
    4. Create the following empty text files in the directory you just created:
    RequestCenter_0.properties
    RequestCenter_1.properties
    RequestCenter_2.properties
    RequestCenter_3.properties
    RequestCenter_4.properties
    RequestCenter_5.properties
    RequestCenter_6.properties
    RequestCenter_7.properties
    5. Add the custom text strings to the appropriate  RequestCenter_<Number>.properties file in the following manner  (name-value pair) StringID=YourCustomTextString
    Example: The StringID for "Available Work" in ServiceManager is 699.
    If you wanted to change "Available Work" to "General Inbox", you  would add the following line to the RequestCenter_0.properties file
         699=General Inbox
    Strings are divided into the following files, based on their numeric ID:
    Strings are divided into the following files, based on their numeric ID:
    String ID  File Name
    0 to 999 -> RequestCenter_0.properties
    1000 to 1999 -> RequestCenter_1.properties
    2000 to 2999 -> RequestCenter_2.properties
    3000 to 3999 -> RequestCenter_3.properties
    4000 to 4999 -> RequestCenter_4.properties
    5000 to 5999 -> RequestCenter_5.properties
    6000 to 6999 -> RequestCenter_6.properties
    7000 to 7999 -> RequestCenter_7.properties
    6. Turn off the String ID display by removing (or commenting out) the line "res.format=2" from the newscale.properties, RequestCenter.prop and RmiConfig.prop files
    7. Restart RequestCenter.
    Your customized text should be displayed.

    I've recently come across this information and it was very helpful in changing some of the inline text.
    However, one place that seemed out of reach with this method was the three main buttons on an "Order" page.  Specifically the "Add & Review Order" button was confusing some of our users.
    Through the use of JavaScript we were able to modify the label of this button.  We placed JS in the footer.html file that changes the value of the butt

  • Maybe you are looking for

    • Cannot install Adobe Reader on Windows 7 Home Premium

      The download is not a problem. I have tried the fixes on the Adobe page and through Google Search. Help! The installation gives this error at about 97% complete: Error 1935.An error occurred during the installation of assembly component {B708EB72-AA8

    • IMovie refuses to import from JVC DV cam

      I am a new Mac user, eager to get started with the iLife apps, but I have a problem so far. Using iMovie '08 on my new MacBook Pro 2.2, I can't import. It rewinds, starts playing, plays audio and video on the cam, but just shows a blue screen on the

    • How to enable the filetransfer in Oracle Communicator 11g?

      Hi, I've already change the relevant values in the Program Files\Oracle\Oracle Communicator\defaults.xml as following:      <FileTransfer>           <Location>http://example.com:7001/filetransfer</Location>      </FileTransfer>      <FileTransferEnab

    • Issues in Planning Run

      Hi Experts I am facing the following problems in PPDS 1)How to align the backward logic in PPDS with our practice to minimum stock balance. 2) Some production plan set in SCM is getting advanced to previous week automatically before production orders

    • I had to do a factory reset on my Samsung YP-G70EB, which wiped my Firefox app - how can I reinstall it?

      The apps store tells me that my device is not compatible, but I had Firefox on the device prior to doing a factory data reset. How can I re-install Firefox?