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
1386 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 8 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
Parents
0
sikhivahans
over 8 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
Reply
0
sikhivahans
over 8 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
Children
No Data