71
Views
9
Comments
Solved
Implement hashtag "#" with a link
Question

I am developing a mobile social network and would like to implement the hashtag "#" with a link in a publication.

Does anyone know a component or know how to implement the hashtag?

mvp_badge
MVP
Rank: #69
Solution

For that you need some javascript, but the code is always the same.



HashtagExample.oml

mvp_badge
MVP
Rank: #69

Hello Raquel.

I'm not understanding your need.

To add the hashtag symbol to the textarea with a click like LinkedIn?

Or to automatically find hashtags based on the content of the link pasted?



Rank: #6042

would like to do exactly like linkedIn

Rank: #90

Hi Raquel,

this is simple text of link you can do it simple by using link widget.

Like below image-

On the link widget you can call Action, screen Destination and RedirectToUrl.


Hope this will Help you.

Regards

Rahul Sahu

Rank: #90

Hi Raquel,

You want this when user upload image or something with content it will show with link 


Find attached oml that will help you.


Regards

Rahul Sahu

HasPublication.oml

mvp_badge
MVP
Rank: #69

A dynamic number of links is not very easy to achieve on mobile.

I did a small example using a list. You can customize css to remove line breaks.


You may try going the CK Editor approach used on this topic.

https://www.outsystems.com/forums/discussion/53230/how-to-display-html-on-mobile-app/


HashtagExample.oml

mvp_badge
MVP
Rank: #69
Solution

For that you need some javascript, but the code is always the same.



HashtagExample.oml