Can we add hyperlink control on Steps page to link pdf/word document. user click on hyperlink and document open in browser in next tab ?
hello @nitingoel82, yes this can be done using the Open File
Action:
as a note, this currently only works on Windows.
Which control we need to take to make as a hyperlink, my requirement is user go to page and click on link and pdf/word file open in browser. Please let us know exact step which need to follow to make hyperlink.
Here you are making page (Steps) as a link however i need to ask user to click on link button and then pdf file open in Browser.
Also pls let me know how to define file path. My file is in C:\Users\File\Test.pdf
I see the path hasn’t been entered into the Expression Editor yet. could you try adding it in the black box following Static Value
, save the Expression, and save the entire Trigger??
Yes i entered the path and click on save window close the i open again trigger path is not visible and coming black screen and button is not performing any action.
@nitingoel82 that will happen if the Expression is not saved prior to saving the Trigger. can you confirm you are saving the Expression using this button:
Now link tab is open but file is not coming.
Observation: 1. path will not take any space. 2. colon is removed after c
Now please guide how can we do this as its not working if i select variable.
thanks for sharing @nitingoel82!!
seen as you’re accessing a local file, could you use the Open File
Action instead of Open Link
??
Open File
Action is not working for me. Can you please give me a proper example with running code.
hello @nitingoel82, what is the error message you’re seeing??
and just to confirm are you running the Player on a Windows computer??
Yes, Player on a Windows computer.
If i use Open File
Action then click on button nothing happen no error comes.
Can you please create a local folder and add any pdf file and call through program and share code.
hello @nitingoel82, thanks for sharing. I do notice that you’re using the Open Link
Action rather than the Open File
. have you tried using the Open File
Action??
here is how the Trigger would look like, along with the result in the Player when using the Open File
Action @nitingoel82:
Thanks Gio,
Now my problem is resolved.
file will open through tulip player not by developer tool.
great to hear!! let us know if you have any other questions @nitingoel82.