Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
1373 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
is there a way that we can change the viewers in the post event to feed once it
siddharths
over 7 years ago
is there a way that we can change the viewers in the post event to feed once it has already been created.
I have situation where the feeds have been created with no security on the viewers. So the older feeds that are created are accessible to all the users in the system. But subsequently there was a requirement which mandates that the feeds to be restricted. While the new feeds entries that are created works fine. I want to fix the older ones so that they also are visible to the right people.
Any thoughts/approach welcome!!
OriginalPostID-220712
OriginalPostID-220712
Discussion posts and replies are publicly visible
0
Stefan Helzle
A Score Level 3
over 7 years ago
AFAIK there is no official and supported way to do that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harshav
over 7 years ago
AFAIK , when I was trying this.... this is how I Did, for the Question what you have asked, the answer WRT me is NO, as Once the Viewers are set you cannot change the viewers however, you can repost the same system feed with updating the security of the viewers using different components. Not sure of any shared components though.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@siddharths To the best of my knowledge, there isn't a direct way to do it.
As a work around, you might create new feed entries with contents and comments exactly same as the old feeds and update the database entities in case if the feed entry ids are being stored. Two problems I can see with this approach is, comments and documents. I am not aware of how to get the document objects associated with a feed entry but you can query the primary database(using Query Database) in order to get the comments(if they are strictly needed) for a given news feed entry. So this way you can design a utility process which creates a new feed entry and its corresponding comments upon the data we have got from making the query to primary database for a given feed entry. At the end you may delete the old feed entries manually. In general, query against Primary Database isn't recommended at all so I would leave it with others to comment on its validity atleast for one time usage.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
siddharths
over 7 years ago
Thanks for the inputs! For now, we are just going to delete the older news feeds and not going to recreate the same.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel