we have got a request from our customer to have an attribute (type URL) in their CA PPM which will be redirecting them to mapped network drive on their local PC in windows explorer. I tried to google it, but the only thing was to use "file:///M:/backup" but it does not work
Have you met this or something similar?
Have you got any idea how to do this?
Thank you all in advance.
I did some test, but from Clarity does not work even it works from html file.
If the HTML link works OK then you could use the TIP : How To Put Any Dynamically Generated Value On A Clarity Object technique to "launch" the URL I think.
thank you for the provided information. But for me it does not work, it just shows the generated text, not hypertext link. Please see screenshot below ("Odkaz na soubor" is label of lookup attribute).
Have you got any idea what can be wrong?
Here is query for the lookup:
(select id,'<a href="file://'||c_msn_dummy_link||'" target="_blank">link</a>' odkaz
select 1 id, '-' odkaz from dual where @WHERE:PARAM:USER_DEF:INTEGER:proj_id@ is null)
and also the screenshot of the attribute definition.
And also I have one more question.
When I set the default value and then go to the project the field is empty, how do you fill the value to the lookup attribute to show the value regarding to the specified project?
Thank you in advance.
I don't think you have quite followed the "technique" fully - the trick is that the query for the lookup always returns a constant value (1) - your lookup query appears to be returning the prj_id?
The display problem you have (where you see the HTML instead of the link) is when the lookup is set to "browse" rather than "drop-down".
Sorry for my post below. You are right, my mistake, corrected it. I can now see it as link, but still the link does nothing. When I click on it really nothing happens. I checked the source code and the link is exactly the same as I posted above.
Is it possible that Clarity is somehow blocking links with "file:// ... "?
Not sure its a "Clarity thing" - when you click on that HTML link it is the browser that is handling that and as far as the browser is concerned its "just an HTML link".
So I'm a bit confused as to why clicking doesn't do anything, HTML isn't really my strength - sorry.
^ actually a bit of Googling seems to indicate that its for browser/security reasons that such links don't just open - no idea hoiw you get around that - possibly this is the same problem you were initially having with URL attributes.
You are right in both ideas, it's connected with browser and it's security policy. I found a solution:
Go to Tools → Internet Options → Security → Local Intranet → Sites → Advanced
Add the site that has open folder and files functionality.
After setting this the URL attribute works too.
Thank you very much for helping me to solve this.
I found here on community that it will be solved by setting the attribute as Browse, I have this but no change
It needs to be pull-down, not browse