Domanda

I have a blog(SharePoint site collection) on staging environment. The posts are published on staging site collection(intranet-facing) by authors which are deployed to production site collection (internet-facing) by the content-deployment job.

The anonymous users see the posts and put their comments on the production site.The business requirement is that the comments submitted on production has to be approved by site author on staging.For this, the comments should be available in staging and not production. Is there a trusted way to do that.

Please note that the production cannot access WCF services on staging due to firewall.

È stato utile?

Soluzione 2

Finally, after some brainstorming I found a feasible solution.

On Production : Created a custom control to send comment as email to a list at staging. On Staging : Configured the list to receive emails. This will contain comments sent via email. A SPEmailEventReceiver attached to the list process the email (sent from production) and put it to actual comments list where it is approved\rejected by the approver. After publishing, It is goes to production by Content deployment and is live.

The solution also keeps the content deployment trouble-free and don't bypass the security guidelines set by IT.

Altri suggerimenti

I suggest you go back to the business and inform them of the purpose of a staging server. If a production environment has a reliance of staging, then you essentially don't have a staging environment.

This might not be entirely helpful as an answer, but do remind the business why you have a staging server, and why it is indeed called 'staging'.

If you cant open the firewall, you most likely have to look at how to either encapsulate traffic in HTTP packets ( I see more and more layer 7 devices that will block this however), or modify them to accept HTML GET / PUT methods, or query strings.

You could implement some JavaScript on both sides to pass comments around (say via query strings), but with content publishing you are going to run into issue that will cause you to get out of sync, and you will start seeing strange behaviors as a result (if not outright refusal (errors) of the system to publish your content).

perhaps also look at implementing some sort of custom commenting engine, and tie both farms into it.

Some things that may assist in this route:

These are all javascript/HTML based but hosted.

http://aboutecho.com/streamserver

http://www.instacomment.com/

http://disqus.com/welcome/

You could look at extracting say the comment engine from the blogengine.net. For that matter, maybe look at a dedicated blogging platform sitting alongside SharePoint like that mentioned above, or WordPress.

I would draw up some cost-benefit scenarios for different methods, including just enabling content approval on the comments in production. This will at least let management understand the level of effort required to meet this requirement, and allow them to make an informed decision on how to move forward.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top