Hi! With some help, I have figured out how to insert a <<web_url_link>> into my sms and email body templates. The problem I am having now, is that the link it provides goes to a default view that I have no control over. It shows all columns not hidden and does not display the โMain Imageโ. How can I build my own URL Link that will take the user to the proper record in the correct view?
FYI, my app is a to do list for my team, and I have a workflow setup to text when they are mentioned in a comment, but I want them to click the link to see the record they were mentioned in. Thank you.
Thank you very much (^_^)
No worries
@Aleksi, @MultiTech_Visions, Could I ask for a little help on this please as I canโt get it to work.
My template is in a word document.
<<concatenate(โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1",
linktorow([Job No], โAll Jobs_Detailโ)
)
but this shows in my pdf as below. I cannot link to it.
If I include the linktorow in the link as @Stephen_Mattison has above I get an error
<<concatenate(โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1",
linktorow([Job No], โAll Jobs_Detailโ)
)
Error
โErrorsโ: โError: Workflow rule โMaterial Approval Notoโ action โAction 1โ Attachment template. Expression 'concatenate(โ<a href=โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1%22,โ>https://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1โ, <a href=โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1%22,โ>linktorow([Job No], โAll Jobs_Detailโ))โ is invalid due to: Expression โconcatenate(โ<a href=โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1%22,โ>https://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1", <a href=โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1%22,โ>linktorow([Job No], โAll Jobs_Detailโ))โ could not be parsed due to exception: Sequence contains no elementsโฆ",
Is it maybe something to do with the hyperlink in Word
Hey @Martina; After examining the error message you pasted, the formula presented seems to have a syntax error.
The problem youโre running into is that youโve got a block of text, that you initiate with an open double quote, but inside the text block thereโs another double quote (as part of the text); this is causing the โopen/closeโ of the elements inside your CONCATENATE() to get confused.
When you need to include double quotes inside your text block, instead of encapsulating the text with double quotes (like you normally would), use a single quote to โopen/closeโ the text block.
If Iโm interpreting your formula correctly, youโre wanting to create the <a href>
HTML code block that represents the link to that row. Right?
concatenate(
'<a href=โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1%22',
linktorow([Job No], โAll Jobs_Detailโ),
'">'
)
That should output something like:
<a href=โhttps://www.appsheet.com/start/864ea390-8692-4de0-a063e6b60c071164?refresh=1&wipe=1%22#control=ALL%2-Jobs_Detail&row=404dd38">
What do the ?refresh=1&wipe=1%22
do?
Thanks @MultiTech_Visions.Yes thatโs exactly what I want.
Can I actually type the html a href tag in a Word document? I think I tried that and it didnโt work. I was highlighting it and using the MS Word Link
@Lucinda_Mason if I remember right, this causes the system to start the app fresh - as in to refresh the system and wipe things clear??? I think wipe means something else, but I think thatโs the idea. (If I remember right, this was something that Praveen first told everyone about.)
@Martina hereโs an example of how I implemented something like this in an app Iโve made:
<<hyperlink(
concatenate(โhttps://www.appsheet.com/start/5a0fc21b-5548-4af2-ba08-1bdf1d1e2541#control=bills_slide&row=โ,encodeurl([BillID]),โ&page=slideshowโ),
[Bill_From_This_Account].[Account_Name]
)>>
In this example, you can see Iโm using the HYPERLINK() function; the first part, the concatenate() that builds the actual URL, is using an older setup - but the idea is sound.
This renders in the workflow output (inside a PDF or email) as a hyperlink with the text of the Account_Name.
When I ran into this issue just the other week, instead of building my own link I used <<_ROW_WEB_LINK>>
.
User | Count |
---|---|
33 | |
29 | |
29 | |
20 | |
18 |