subscribe users automatically to the asset publisher liferay - liferay

Is there any option to subscribe users automatically to the asset publisher?
I saw this:
message.boards.subscribe.by.default=true
but, I need it for the asset publisher
Thank you!!

message.boards.subscribe.by.default subscribes a user to the message board thread they're answering to - e.g. after they interacted with the message board.
What would be the interaction with AssetPublisher that you're intending to trigger this automatic subscription? There's typically only the author(s) of an asset publisher adding articles, and they don't need to interact with AssetPublisher in order to make other articles appear because AssetPublisher only filters and shows whatever matches the current criteria.
This is a long way to say "no, there's no such property". However, there's Liferay's API, which you can use to codify the criteria for subscription. This will naturally be more effort than setting a property, but it's your only option.

Related

Get Stream Chat: Is it possible to hide message from the customers?

I'd like to add messages that are visible only to our support team, but should be hidden on the customer side.
The opposite should also be possible, how can I send a message from the backend straight to the customer but hide it for our support team?
Tried to search about SYSTEM messages but didn't find anything usable.

Can Logic Apps Monitor a large number of calendars effectively?

PROBLEM
We want to track changes in user calendars, but are concerned with how often we'd need to check 2000+ user calendars (Outlook).
Would the process of monitoring over 2000 user calendars present a problem for our network?
WORKFLOW
Trigger (Check for calendar change) -> ACTION (Http: update a DB)
The Trigger below checks a calendar every 2 seconds. Is there a trigger that behaves like a "subscription" object where it simply handles a change notification?
For the question about how often to check the calendar events, it depends on your requirement. In my opinion, if you set check event every 2 seconds(it's a little bit more frequent), you'd better check if your logic app set as run in parallel. You can click the ... button of the trigger and click "Settings". Then check if it is same to below screenshot.
For your question about is there a trigger that behaves like a "subscription". I'm afraid it doesn't exist a trigger which can implement this requirement in logic app. We can also check if any backend api can implement it, we can see the graph api document.
The example in above screenshot is for mailFolders, but it's same with events. We can see it is necessary to specify a user(like me) or a group before the /events. So I don't think we can monitor the subscription events. You can raise a post on Azure feedback page to suggest developer add this feature.

Only show notification activities in the recipient's feed

I have a simple notification use-case: Coaches need to approve their user's weekly check-in logs. When the log is approved, the user gets a notification. 
The issue is that I don't understand how to add the activity without adding it to the coach's notification feed also by targeting the notification with the TO field. If I do that, then I need to exclude the copied activity from the coach's feed, because the coach doesn't need a notification of the activity they just took. Also, I then have an issue with the unread counts, and I would either need to automatically mark notifications that one user sends to another as read so that it doesn't distort the unread count for the sender. 
Anyway, the question I have is am I setting this up correctly? Is there an easier way to achieve the result I want?
If the feed ID and activity actor are the same, you can use discard rules to achieve this.
For instance:
If the notification feed is called notification:$choach-id and the activity verb is set to $coach-id then discard rules will make this work.
More information about this is available https://getstream.io/docs/discard_rules/

Track multiple context for the same Bot

We have a bot that will be used by different customers and depending on their database, sector of activity we're gonna have different answers from the bot and inputs from users. Intents etc will be the same for now we don't plan to make a custom bot for each customer.
What would be the best way to separate data per customer within Chatbase?
I'm not sure if we should use
A new API key for each customer (Do we have a limitation then?)
Differentiate them by the platform filter (seems to not be appropriated)
Differentiate them by the version filter (same it would feel a bit weird to me)
Using Custom Event, not sure how though
Example, in Dialogflow we pass the customer name/id as a context parameter.
Thank you for your question. You listed the two workarounds I would suggest, I will detail the pros/cons:
New API Key for each customer: Could become unwieldy to have to change bots everytime you want to look at a different users' metrics. You should also create a general api (bot) where you send all messages in order to get the aggregate metrics. This would mean making two api calls per message.
Differentiate by version filter: This would be the preferred method, however it could lengthen load times for your reports as your number of users grows. The advantage would be that all of your metrics are in one place, and they will be aggregated while only having to send one api call per message.

Branch.io: Extract custom value from link

we're facing a problem right now: We're using the SMS gateway feature from branch.io which simply does not work properly worldwide (e.g. Lituanian cell phones won't receive any messages at all).
Therefore i need a fallback method for people that cannot receive an SMS to their phone with the downloadlink in the Appstore. (The branch.io Links have an effect on the branding of our app)
The fallback is to let them use a voucher code which COULD be generated from a custom value that we store for each Link
This is an ordinary Link with its 2 custom values
The landing page http://learnmat.ch/spark7 opens in the browser and i'd like to be able to identify the SponsorID on the website so that i can return a voucher code that is suitable for the specific SponsorID of the Link.
Right now i've already integrated the Web SDK into the website.
Is that "reverse engineering of the SponsorID" possible based on the Link and the WebSDK integration?
I'd really appreciate your help!
Thank you,
Sven
Jackie from Branch here.
Our SMS page service supports international numbers but only if the number the SMS has to be delivered is in the same country the SMS is being sent from. Could you please make sure the sender is physically located in Lithuania? I'd also suggest creating your own Twilio integration if you want to bypass these restrictions we have on our system https://docs.branch.io/pages/web/text-me-the-app/#use-your-own-sms-service
Regarding your fallback method: you want to have users click on a Branch link that will open your website and based on the link data (sponsor ID), you want to provide them with unique voucher codes? If my assumption is correct, you can achieve this by custom event tracking and user identity tracking. (relevant docs: https://docs.branch.io/pages/dashboard/analytics/#user-value-attribution)
Hopefully, this helps. Let us know if you have additional questions about the info above, or about anything else related to integrating Branch.
Best,
Jackie Choi

Resources