Reverting to method call for attachmentUrl