Question

store hyperlink in smartobject field data type hyperlink from workflow

  • 28 July 2020
  • 3 replies
  • 13 views

Badge +1

i want to store a hyperlink in a smartobject field of type hyperlink from a workflow so that it will display properly in a view . 

 

the text function hyperlink returns a string so that doesn't work.

 

i tried http://www.k2.com,k2 but that does not work either 

what is the format required to save the url part and the display name ? 

 


3 replies

Userlevel 2
Badge +5

Hi ma_bi,


 


You may want to checkout the links below, those are samples on how to use the Smartobject Hyperlink property


 


Navigate to a URL - https://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#How-Tos/NavigateToURLs/UseSmOHyperlinkToNavToURL.htm


 


Hyperlink Expression to navigate to a URL - https://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#How-Tos/NavigateToURLs/UseSmOPropsHyperlinkExpressionToNavToURL.htm


 


Hyperlink Control - https://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#Create/K2Designer/Controls/Hyperlink/HyperlinkControl.htm


 


Hope this helps


 


Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such
using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.


 


Cheers,
Kate


 


K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.


 

Badge +1

Hi,

 

Yes I saw those examples , but I want to store a Hyperlink directly from a workflow , not from  a View - is this possible ? Thanks

 

Userlevel 3
Badge +7

Hi,


 


In your workflow, you can use the smartobject method (create method) and pass the hyperlink function (under "Text" in the "Function" tab) into the smart object method, you can also try to use a varaible instead of passing the hyperlink directly into the smart object method.


 


K2 will not accept any liability for any issues arising from actions taken in respect of information provided by any forum member.


 


Kind regards


Prineel

Reply