Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Quick Link added to multiple users?

Posted on by 2,990

Hi,

is there any way to add the same Quick Link to multiple users? Thanks

*This post is locked for comments

  • Suggested answer
    Linda Brock Profile Picture
    Linda Brock 2,990 on at
    RE: Quick Link added to multiple users?

    Thank You!!

  • Verified answer
    Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: Quick Link added to multiple users?

    Linda,

    You can run the following SQL query to copy all Quick Links from one user to another:

    USE DYNAMICS
    GO
    
    DELETE FROM dbo.SY08140 WHERE USERID = '<Destination_USERID>';
    
    INSERT INTO dbo.SY08140 (USERID
          ,SEQNUMBR
          ,TYPEID
          ,CmdID
          ,CmdFormID
          ,CmdDictID
          ,DSPLNAME
          ,ScbTargetStringOne
          ,ScbTargetStringTwo
          ,ScbTargetStringThree
          ,ScbTargetLongOne
          ,ScbTargetLongTwo
          ,ScbTargetLongThree
          ,ScbTargetLongFour
          ,ScbTargetLongFive)
    SELECT '<Destination_USERID'
          ,SEQNUMBR
          ,TYPEID
          ,CmdID
          ,CmdFormID
          ,CmdDictID
          ,DSPLNAME
          ,ScbTargetStringOne
          ,ScbTargetStringTwo
          ,ScbTargetStringThree
          ,ScbTargetLongOne
          ,ScbTargetLongTwo
          ,ScbTargetLongThree
          ,ScbTargetLongFour
          ,ScbTargetLongFive
      FROM dbo.SY08140
      WHERE USERID = '<Source_USERID>';
    GO
    

    If you are needing to transfer just one Quick Link out of many from one user to another, that becomes a bit trickier because you will need to take into account the sequence number at the destination. It would be something like this:

    INSERT INTO dbo.SY08140 (USERID
          ,SEQNUMBR
          ,TYPEID
          ,CmdID
          ,CmdFormID
          ,CmdDictID
          ,DSPLNAME
          ,ScbTargetStringOne
          ,ScbTargetStringTwo
          ,ScbTargetStringThree
          ,ScbTargetLongOne
          ,ScbTargetLongTwo
          ,ScbTargetLongThree
          ,ScbTargetLongFour
          ,ScbTargetLongFive)
    SELECT '<Destination_USERID>'
          ,(SELECT MAX(SEQNUMBR) + 1 FROM SY08140 WHERE USERID = '<Destination_USERID>')
          ,TYPEID
          ,CmdID
          ,CmdFormID
          ,CmdDictID
          ,DSPLNAME
          ,ScbTargetStringOne
          ,ScbTargetStringTwo
          ,ScbTargetStringThree
          ,ScbTargetLongOne
          ,ScbTargetLongTwo
          ,ScbTargetLongThree
          ,ScbTargetLongFour
          ,ScbTargetLongFive
      FROM dbo.SY08140
      WHERE USERID = '<Source_USERID>' and SEQNUMBR = 8;
    GO
    


    In the above example, I am copying just the entry corresponding to Sequence Number 8 from the source user ID to the destination user ID. You also don't want to run a delete for all the destination user entries as this would, well, remove all Quick Links.

  • Suggested answer
    Syrus Profile Picture
    Syrus 4,156 on at
    RE: Quick Link added to multiple users?

    Yes, it is. you can copy from one User to another User using PSTL

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans