Read Custom field from selected task RRS feed

  • Question

  • Hi everyone

    I'd like to read the custom field from a selected task in my grid, so currently I add a button in my ribbon and when I clicked on it, I'm able to read my taskUID, so now, I'd like to improve this one and being able to read my task custom field: Url
    Any idea of how could I do that?

    Because I found no documentation about method like GetSelectedRecordKeys, so I'm totally stuck

    I joint my current:

    <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
    <script type="text/javascript" src="/_layouts/15/sp.js"></script>
    <script type="text/javascript" src="/_layouts/15/ps.js"></script>

    <script type="text/javascript">

    SP.SOD.executeOrDelayUntilScriptLoaded(handleCreateSite, "PS.js");
       var pc;

    function handleCreateSite() {
        pc = new TaskCenter();

    function TaskCenter() {
             _grid = MyTasksComponent.get_GridSatellite().GetJsGridControlInstance();
            selection = _grid.GetSelectedRecordKeys(false);

    Thank in advance for your help


    Friday, March 1, 2019 10:38 AM

All replies

  • get digital marketing services in cheap rate

    Thursday, March 28, 2019 5:09 AM
  • Bouisasound,

    It's not clear that this has anything to do with programming or customizing Microsoft Project, a project management application, but that is the sole focus of this forum. If it IS related to Microsoft Project, please expand your post by explaining what version of Project you are using and what you are trying to accomplish.

    If it does NOT relate to Microsoft Project, I suggest you re-post to the following forum as a starting point:


    Thursday, March 28, 2019 3:27 PM