on 11-26-2010 10:21 AM
Hi SDN,
we are running SRM-MDM 2.0 SP04 PL11.
I have created a repository which uses the hyperlink lookup table to add a link to a pdf file for the particluar item. So when clicking on my pdf file-link eg
mdmserver\folder\2000123.pf I get a new window displaying the pdf in adobe acrobat reader.
But I get a follow on error which should not have to do anything with this, but the error text tells so.
Just to make sure - I have a data entry in the mdm list view with 2 hyperlinks - one leads to my pdf, the other to item-details.
As I could not find out how to avoid the link to item-details (link is on short description) I get an error, when clicking on short description:
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=file:
mymdmserver\folder\2000123.pdf
The error is because a link to a share in our file-system - strangely mdm checks this, when clicking the other "standard" link on short description...
In fact, if I provide a "proper" Hyperlink eg http://www.cool.de to the URL field, then I don't get an error when clicking the other link item details. Can somebody tell either how to avoid the details link, because in this repository I don't need it anyway (didn't find anything in the config web UI tool), or how to avoid this error somehow.
One bonus question but not as important: Is there a way to change the column name "hyperlink" on the web UI? I'd rather have "Preview" instead. But I can't find tools or ways to change this. Not in the config web UI, neither in the
console - there we have the label "Hyperlink" only in the item details in the lower right corner. But this seems to be the label which the web UI uses.
kind regards, matthias
Edited by: Matthias Kasig on Nov 26, 2010 11:22 AM
Hi Mathias.
Since you are not interested to view item details, and If you don't want to throw an exception when you navigate to Item details, just remove the filed Hyperlink from Item details through Catalog Configuration UI.
or
Check if the Relative URL is correct and it has the file exists on it(Refer to SAP MDM Catalog FAQNote for more details on this)
or
Contact SAP since this is throwing exception.
-
For your Bonus Question.
Try changing the maintable-filed name Hyperlink to Preview- and checn if it is reflecting in the Web-UI.
Again if you do this it will reflect in all the places(resultset, compare,itemdetails etc)Make sure you modify only the "Name" of the field. If it works make a note of the changes you did, because in future if you are
Note: SAP recommends not to edit any fields in the repository.
Regards
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bala,
thanx for the valueable info. Things worked as described. This counts also for the bonus question - I simply changed the name of the field "Hyperlink" to "Preview" and without any changes in the config UI, the new name showed up on the cataolg frontend.
10 points to you
kind regards, matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.