You are viewing limited content. For full access, please sign in.

Question

Question

how to hyperlink the single line field in table

asked on March 13, 2017 Show version history

Dear team,

We are Generating the web link through workflow and updating in a sql database table of the weblink.

In form we are doing the lookup of same table and populating the  web link in table. 

problem we are facing that it is not showing in hyperlink in table on single line fields. 

Please  suggest how we show as hyperlink in the table. (Ref screen of table)

 

Thanks

Sumeet

0 0

Replies

replied on March 14, 2017

It should be related to you use localhost in the URL, instead of localhost, can you change it to the full qualified name of the machine such as machine.laserfiche.com?

 

0 0
replied on March 14, 2017 Show version history

this is our internal test server. thats why we have given localhost. but issue it is not hyperlink in single line field. its should click an open. rightnow i am  copying it and paste in explorer to open it.

0 0
replied on March 14, 2017

The issue is the single line field value is starting with http://localhost, please change it to start with http://fullmachinename to see whether it works.

0 0
replied on March 14, 2017

I have entered the IP-Address but still its not showing hyperlink.

0 0
replied on March 14, 2017

This is known issue, it has to be start with something like http://machine1.laserfiche.com/xxx, can you try with similar format?

0 0
replied on March 14, 2017

ok , we don't have domain. if we give host name does it work..

or  suggest some work around for that.

0 0
replied on March 14, 2017

Actually I tried with your URL, it works for me. How do you set the table into read-only mode?

0 0
replied on March 14, 2017

only the single line field ,  i will make read only in table.

 

0 0
replied on March 14, 2017

Sorry, I mean I am not sure how do you set the rows in the table to be read-only. When I use lookup, the rows looks like following:

0 0
replied on March 14, 2017

 

both columns are read only in table setting and in lookup add new rows are checked. 

 

0 0
replied on March 15, 2017

Do you have any customize JavaScript to convert the elements in the table? Such as covert input to div? I was not able to set table like yours. If you do the covertion in the script, then you can append href attribute to the elements in the custom JavaScript as well.

0 0
replied on March 16, 2017 Show version history

hi xiang,

we have not used Java script in the table..  only CSS is used to make grey border to white.

I have setup sample table on our development.

Please suggest how to make this hyperlink using Javascript.

or some work around to make it hyper link , 

http://180.179.207.28/Forms/test

username - Test

Pwd 123

 

 

0 0
replied on March 16, 2017

I was not able to access your website from our network. Can you open a support case and provide the exported process?

0 0
replied on March 16, 2017

sorry i have mentioned incorrect url

http://180.179.207.28/Forms/test

0 0
replied on March 17, 2017

i have raised the ticket for the same. case id 185594.

0 0
replied on March 17, 2017 Show version history

they have Directed me to answers to on my support request.. 

Please advice.

 

"Questions of this nature (how to do something, or whether something is possible, etc) are not Technical Support issues. Please post your question on Answers at https://answers.laserfiche.com "

Case will be closed at this time. 
 

 

0 0
replied on March 22, 2017 Show version history

For others that may run into similar issues, you can add a CSS class called "link" to the field that you want to generate link after lookup complete, then add following JavaScript which will generate the link when the lookup complete:

$(document).on("lookupcomplete",function(){
  $('.link [type="text"]').each(function(e,el){
   var link=$(el).val();
   $(el).replaceWith($('<a href="' + link + '" target="_blank">' + link + '</a>'));
  });
  }); 

 

6 0
replied on March 22, 2017 Show version history

The reason that Sumeet's field looks different as mine is because there is custom CSS added to those read-only fields.

And indeed this kind of issues are not Technical Support issues.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.