Hello,

how can we make column non/editable for portal users?

 

We have editable detail and column Requested amount, that should be editable for external users and non-editable for system users.

And column Confirmed amount, that should be editable for system users and non-editable for external users.

 

We use business rules based on calculated attribute (from Terrasoft.isCurrentUserSsp) for pages - it works perfectly. But it doesn't work in editable details

 

Any ideas?

Thank you!

Like 0

Like

4 comments

Hello,

Desired permission set up can be achieved via column permissions in the object permission settings. Step-by-step guide on the column permission set up available on Creatio Academy.

Best regards
Ivan

Ivan Savenko,

Thank you, it can be used, but it doesn't give visual 'lock' for column, only an error after saving.
Besides, column permissions requires to define each column of the object (at least, for the portal), that is not the best approach

I agree, visual locks would help a lot :)

Damien Collot,

especially on portal, where hundreds of users without experience should be provided with clear and easy UI

 

Kind regards,

Vladimir

Show all comments

Hello,

 

I am trying to enable a web service for a portal user. When I try to trigger the service however, I receive a 500 Error. 

When I trigger the service using an internal user account, the service triggers with no issues. My test portal user however receives the error. To me that says portal users are unable to trigger a batch query but I've been unable to find anything that says it for sure. Is there a setting I need to adjust?

Like 0

Like

6 comments

Hello,



Please make sure that portal users have access to your web service.



More details on the academy website:



https://academy.creatio.com/docs/developer/application_components/porta…



https://academy.creatio.com/docs/developer/application_components/porta…

Cherednichenko Nikita,

I have followed the provided academy pages. Though when trying to compile, I receive the errors.

 

" The type or namespace name 'SspServiceAccess' could not be found (are you missing a using directive or an assembly reference?)"

 

"The type or namespace name 'SspServiceAccessAttribute' could not be found (are you missing a using directive or an assembly reference?)"

Try to generate source code for all schemas and run compilation again.

After generating source code for all schemas and compiling again, I am still receiving the same errors. Is there a namespace I am missing?

namespace Terrasoft.Configuration.KeenGlbInterviewService
{
	using System;
	using System.IO;
	using System.Collections.Specialized;
	using System.Globalization;
	using System.Runtime;
	using System.Runtime.Serialization;
	using System.ServiceModel;
	using System.ServiceModel.Web;
	using System.ServiceModel.Activation;
	using System.Threading;
	using System.Threading.Tasks;
	using System.Web;
	using Terrasoft.Core;
	using Terrasoft.Core.Factories;
	using Terrasoft.Configuration.GlbInterviewService;
	using Terrasoft.Web.Common;
    using Terrasoft.Web.Common.ServiceRouting;
 
	#region Class: KeenGlbInterviewService
 
	[DefaultServiceRoute] 
	[SspServiceRoute]
	[SspServiceAccess(nameof(BatchQuery))]
	[ServiceContract]
	[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
	public class KeenGlbInterviewService : BaseService
	{
 
		#region Methods: Public
		private static readonly GlbInterviewService _baseService = new GlbInterviewService();
 
		[OperationContract]
		[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
		public InterviewServiceResponse Start(InterviewServiceRequest request)
		{
			return _baseService.Start(request); 
		}
 
		[OperationContract]
		[WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
		public InterviewServiceResponse Complete(InterviewServiceRequest request)
		{
			return _baseService.Complete(request);
		}
 
		#endregion
 
	}
 
	#endregion
 }

 

Please see another community post:

https://community.creatio.com/questions/call-web-service



Perhaps there is an answer to your question.

Cherednichenko Nikita,

Thank you for the recommended page. However I have already looked through this page and it makes no mention of using SspServiceAccess which is the piece I'm having difficulty with.

Show all comments