Function/CU that uses the nav 5.0 SP1 Link list

KisuKisu Member Posts: 381
Hi,
I'm just wondering if there is a codeunit or function that lets you use the new Navision's integraded link list.
Any help?

I'd need to use some sort of list to save links to external invoice pictures when importing the data with xml port. The path to the pictures is in the xml files and there are many links for one record.
K.S.

Answers

  • KisuKisu Member Posts: 381
    The data seems to be in the 2000000068 table Record Link
    I'd not want to parse the data out from it if there is a cu for using it :mrgreen:
    K.S.
  • jreynoldsjreynolds Member Posts: 175
    Check out the C/AL functions: ADDLINK, COPYLINK, DELETELINK, DELETELINKS, and HASLINKS.
  • KisuKisu Member Posts: 381
    jreynolds wrote:
    Check out the C/AL functions: ADDLINK, COPYLINK, DELETELINK, DELETELINKS, and HASLINKS.

    I tested it out, it works only half way somehow. It adds the description, datetime and the username, but does not add the link.

    The url link that I'd need to add are this like: \\date\nav\something.TIF

    What am I doing wrong here :/?
    K.S.
  • KisuKisu Member Posts: 381
    Gah, nub me. I forgot to put the XML field for the table variable ](*,)
    Its working now =D>
    K.S.
  • kinekine Member Posts: 12,562
    I tried code
    ADDLINK('\\date\nav\something.TIF','Description')
    
    and it added a link to the file with the description on the Rec without any problem...

    Edit: - missed your last post...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.