Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6728535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:10:57+00:00 2026-05-26T10:10:57+00:00

I’m trying to work out why it won’t let me attach a file from

  • 0

I’m trying to work out why it won’t let me attach a file from a specific page in PeopleSoft CRM (it will show an error saying ‘The AddAttachment() call failed.’) while it does let me from the PeopleTools Test Utilities.

There seems to be a problem with the URL.

Looking at the traces, the lines that caught my attention the most are the following:

  1. Correct trace from the PeopleTools Test Utilities:

22: &RETCODE = AddAttachment(@(&URL_ID), &ATTACHSYSFILENAME,
&FILEEXTENSION, &ATTACHUSERFILE, &FILESIZE);

EvalAddAttachment: processed URL catalog entry (on resume).

IsURLValid: masked specified FTP URL = http://localhost:8230/psfiletransfer/demo/crm/

GetLocalFilePath: temporary copy of file is /usrpsoft/demo/appserv/demo/files/psfileproc/A_de22a2f6-ffbf-11e0-8135-c80dfccab65c/borrador.txt
  1. Trace from the pages that returns an error:

24: &RETCODE = AddAttachment(&URL_ID, &ATTACHSYSFILENAME,
&FILEEXTENSION, &ATTACHUSERFILE, &FILESIZE);

IsURLValid: masked specified FTP URL = http://localhost:8230/psfiletransfer/demo/crm/

GetLocalFilePath: temporary copy of file is /usrpsoft/demo/appserv/demo/files/psfileproc/A_5da2dbaa-ffab-11e0-8135-c80dfccab65c/borrador.txt

First of all, what does the @ symbol mean in Peoplecode?

In the first trace, it appears right before the URL parameter. I went through the Peoplecode documents and I couldn’t find it.

And another thing: the second line of the first trace won’t appear in the second trace.

Does anyone know what could be happening?

Thanks!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:10:57+00:00Added an answer on May 26, 2026 at 10:10 am

    The @ symbol is used to dynamically refer to an object and in this case it is an URL.
    The key is what is in the string &URL_ID.

    If you use @(&URL_ID), then &URL_ID should equal URL.MY_URL. If it is for a record, it would be something like Record.MY_RECORD, e.g. &Rcd = GetRecord(@(&record)); or &Rcd = GetRecord(@("Record."| Record.MY_RECORD)); or &Rcd = GetRecord(@("Record.MY_RECORD"));.

    As for this “EvalAddAttachment” I’m not 100% sure. I wouldn’t be too worried about it though. Just try to identify what is going into your variable (both the 1st and 2nd example) &URL_ID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Basically, what I'm trying to create is a page of div tags, each has
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I want use html5's new tag to play a wav file (currently only supported
I am currently running into a problem where an element is coming back from
I am trying to loop through a bunch of documents I have to put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.