Hyperlink in PDF template

Hi community,

I have this expression in my PDF template

 

<<HYPERLINK(CONCATENATE( โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,LINKTOVIEW("Equipment_Detail")),"Equipment Listโ€)>>

 

The link works but it creates this text.

Screenshot 2023-02-27 130058.png

Please advise on where I might be going wrong?

Solved Solved
0 8 429
1 ACCEPTED SOLUTION

So what I did to fix this was remove the "space" between Equipment and List. I added an underscore. Equipment_List and got this.

Screenshot 2023-03-01 070824.png

Which is way better than the alternative. Thanks for all the assistance @Aurelien 

View solution in original post

8 REPLIES 8

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Quality_Assuran 

What about this?

 

<<HYPERLINK(CONCATENATE( โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,ENCODEURL(LINKTOVIEW("Equipment_Detail"))),"Equipment Listโ€)>>

or

<<HYPERLINK(ENCODEURL(CONCATENATE( โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,LINKTOVIEW("Equipment_Detail"))),"Equipment Listโ€)>>

 

@Aurelien thanks for the response. That fixed the way it looks in the PDF. Both times it looked like thisScreenshot 2023-02-28 153712.png

 

But it doesn't direct me to the PDF. I get these two errors

Screenshot 2023-02-28 153653.png

For the first one.

Screenshot 2023-02-28 153629.png

For the second one

Hi @Quality_Assuran 

At looking to the documentation: 

LINKTOVIEW() - AppSheet Help

Aurelien_0-1677594622535.png

Which makes me think that the HYPERLINK() expression could be this way: 

<<HYPERLINK(LINKTOVIEW("Equipment_Detail", "yourAppName"),"Equipment Listโ€)>>

The app name can be found in the URL:

Aurelien_2-1677594814607.png

 

I tried a bunch of different options

<<HYPERLINK(CONCATENATE(โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,ENCODEURL(LINKTOVIEW("Equipment_Detail"))),"Equipment Listโ€)>>
<<HYPERLINK(ENCODEURL(CONCATENATE(โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,LINKTOVIEW("Equipment_Detail"))),"Equipment Listโ€)>>
<<HYPERLINK(CONCATENATE(โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,LINKTOVIEW("Equipment_Detail")),"Equipment Listโ€)>>
<<HYPERLINK(ENCODEURL(CONCATENATE(โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,LINKTOVIEW("Equipment_Detail"))),"Equipment Listโ€)>>



<<HYPERLINK(CONCATENATE(โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934aโ€,LINKTOROW(index(Equipment[Equip_ID],1),"Equipment_Detail")),โ€™Equipment Listโ€™)>>

These were the results

 

Screenshot 2023-02-28 162716.png

The ones that don't look good work and the ones that do, don't.

On another doc, I have this link and it works so I'm not sure why this one does not?

 

<<HYPERLINK( CONCATENATE( "https://www.appsheet.com/start/a90a4f18-11e0-4ca5-9e2b-9484d3be2450", LINKTOROW( [Meeting_ID], "Meetings_Detail" ) ), "Click here" )>>

@Aurelien sorry I missed your other post, I tried that now did the following:

<<HYPERLINK(CONCATENATE(ENCODEURL(LINKTOVIEW("Equipment_Detail", "FSMS-3102900")),"Equipment Listโ€)>>
<<HYPERLINK(CONCATENATE(ENCODEURL(LINKTOVIEW("Equipment_Detail","f8ed07d8-cca0-44d8-8b79-8d830837934a")),"Equipment Listโ€))>>

<<HYPERLINK(LINKTOVIEW("Equipment_Detail","f8ed07d8-cca0-44d8-8b79-8d830837934a"),"Equipment Listโ€)>>

And got this result ๐Ÿ˜ž

Screenshot 2023-03-01 060550.png

Not sure what else to try?

Could you please try 

<<HYPERLINK(โ€œhttps://www.appsheet.com/start/f8ed07d8-cca0-44d8-8b79-8d830837934a#view="Equipment_Detail"),"Equipment Listโ€)>>

 

So what I did to fix this was remove the "space" between Equipment and List. I added an underscore. Equipment_List and got this.

Screenshot 2023-03-01 070824.png

Which is way better than the alternative. Thanks for all the assistance @Aurelien 

@Quality_Assuran 

Excellent. Could you share your final working expression for the benefit of the community?

Top Labels in this Space