Blog post bypassing workflow in Kentico - kentico

I have a situation where blog posts when saved are being instantly available on the site despite:
Having workflow applied that has a specific "publish" step
The repeaters on the blog page having "show published" ticked
This only seems to be affecting blog post pages, other pages behave as expected.
Any suggestions? Kentico 9 EMS

Check to see if the Workflow general setup has "automatically publish changes" checked by mistake.
Also, double check to see if the Blog section is covered by multiple workflow scope or not. Check the Workflow tab of a blog post and see which workflow is actually been enforced.

This was a self induced problem.
We found a global event handler that was being used to set some default properties on page creation, in which was a checkout and checkin. Looks like the checkout/checkin was publishing the page and then setting it back to edit mode.
Resolved by removing the checkout/checkin from the code.

Related

Creating structural Navigation in SharePoint 2013 wiki subsite is extremely slow or couldn't create

I have a wiki subsite on my site collection. I can create structural navigation in top level site without any problem, but when I create navigation link in my wiki subsite it started rounding and rounding without any action and page becomes white and after all the navigation link isn't created. I tested everything that came to my mind.
Just for test, I removed all of my pages except Home page in my test environment, then navigation creates fast, but I don't know what's wrong with my pages.
Can anyone help me?
There are a lot of things to look at, you can review this blog post Troubleshooting Page Load Issues to get started. Also, go to check the ULS logs, maybe you will find some related clues there.
After I viewed ULS log I found out this error that seems related to my issue: An unexpected error occurred while manipulating the navigational structure of this Web.

How to remove My Pages and My Submissions from Liferay Control panel

I'm currently working on a Liferay project and want to get rid of the My Pages and My Submissions menu items on the right side so that users of my site do not bother with them. Tried looking for the jsp that renders the left side menu, but could manage to remove the item from there. Any ideas how to proceed? Thanks!!!
You could add the following lines to your portal-ext.properties (usually found in webapps/ROOT/WEB-INF/classes under tomcat):
#deactivate Personal Community with *private* pages
layout.user.private.layouts.enabled=false
#deactivate Personal Community with *public* pages
layout.user.public.layouts.enabled=false
#hide Personal Community from my places
my.places.show.community.private.sites.with.no.layouts=false
and restart the server.
Recently I had the same task assigned. Fortunately removing this items from the menu is quite straightforward since the control panel is nothing more than a special layout for displaying portlets that are deployed in the portal server. You can read my blog post here to check the simple steps on how to customize the Control Panel and My Account portlet.
http://liferay.bdedov.eu/2012/02/clean-up-control-panel-from-unnecessary.html
You probably rather want to limit the permissions to people. Don't give out global administration roles, but create your own roles, "Define Permissions" for them as you need them and leave out the permissions that you don't want to provide to your users - e.g. "access in control panel" or the general permission to add a page.
Otherwise you'll miss other ways to use the interface and still allow them to add pages through other means (e.g. "Manage/Page").
Edit: The easiest way to get rid of "My Submissions" is to undeploy the workflow plugin (kaleo-web) - of course you can only do this if you don't need workflow.

Approve content in liferay

Ive added web content to a page with liferay but it says its not approved. How can I approve it? As far as I know I have full privilages.
Thanks
You either have just saved the article as draft (instead of publishing it - there are some buttons at the bottom of the content editor) or you have a workflow active where somebody has to approve the article - depending on the workflow it can also be multiple levels of approval.
Check ControlPanel/Workflow in the "content" section to see if workflow is active for the current community/organization (and don't mix it up with the Workflow part in the "Portal" section of control panel that just provides the global defaults.

SharePoint error relating to page layout after creating site from template

Inside SharePoint I've previously created a site template by appending _layouts/savetmpl.aspx to the end of my site and new sites have been created correctly and work as expected.
I've now come to do the same thing again and yet this time the new site is throwing an error relating to the page layout.
The error is:
This page is not using a valid page layout. To correct the problem, edit page settings and select a valid page layout.
When I try to select a different one, there is only the one to select. This page layout is in use on other sites and they render fine.
Has anyone else seen this issue?
All the best
First, if you append the _layouts/savetmpl.aspx tho the url, i suppose you dont have it in the Site Settings options, so you are using a Publishing site. This is because Microsoft doesn´t support this option (save as template in publishing sites). And they dont support it because it has some bugs, for sure.
So, I would recommend not using this option in important sites, or if you plan to ask support to Microsoft in the future.
However that error indicates that the page layout or his associated content type (ou parent content types) are not correctly installed in the site collection. Are you using your own (custom) content types? Please confirm if the ID of the associated content type (something like 0x0100C6739B7D12DE419aA2F9A2F96CC26818) is exactly the same in the Page Layout on working sites and in the not working sites.
Hope it helps
Do the sites/site collection where the templates working have all the same features enabled as teh sites/site collection where the template isn't working?
Can you check the server logs? <12 hive>\LOGS
Did you add a custom page layout, use it, and then forget to check that "save content" checkbox when you saved your template?

How to force SharePoint tasks to be editable by "Assigned To" only?

We are using the default Task list from a Team Site and would like to only allow those that the Task is "Assigned To" to edit the tasks. How do you go about enforcing this?
When we tried the "Advanced Settings", we found that "Only their own" meant only those tasks created by the current user.
It looks like you need to create an event handler that updates the permission on the Task everytime the assigned user is changed.
Quite a few people have had this problem in the past.
Check out this site for an example of the problems people have had. That said it should work out-of-the-box if you copy content when setting up the Task List.
Looks like, an event handler is the way to go. I found this page in some of my searching and it explains a lot of the problems related to this issue:
Email Notifications and Alerts - Sharepoint Tasks List
Unfortunately, the client wants no custom code and wanted SP Designer workflows and browser based customizations only...

Resources