New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Absent Member.
Absent Member.
391 views

TRIM Content Manager, exception creating a new record using Service API.

HP TRIM 8.0

I am trying to create a record using Service API and getting this error message, but I can successfully create a todo item, Missing any permission settings?

2016-07-22 10:15:36,661 [20] ERROR ServiceStack.DtoUtils - ServiceBase<TRequest>::Service Exception
HP.HPTRIM.SDK.TrimException: You do not have create record access for this Record Type.
at HP.HPTRIM.SDK.Record..ctor(RecordType recordType)
at HP.HPTRIM.Service.RecordConstructor.Construct(Database database, TrimObject trimObject)
at HP.HPTRIM.Service.Extensions.FindOrCreateTrimObject(TrimMainObject trimObject, Database database)
at HP.HPTRIM.Service.TrimObjectUpdater`1.<getTrimMainObjects>d__0.MoveNext()
at HP.HPTRIM.Service.TrimObjectUpdater`1.update(T request, IRequest requestContext, Action`1 action)
at HP.HPTRIM.Service.RecordDocumentServiceBase.DoPost(Record request)
at HP.HPTRIM.Service.RecordDocumentService.Post(Record request)
at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

Can this user create a Record with the selected Record Type in the the TRIM client?  The exception is coming out of TRIM so is not a ServiceAPI issue as such.


Blog | Samples | CM SDK Docs
**Any opinions expressed in this forum are my own personal opinion and should not be interpreted as an official statement on behalf of MicroFocus**
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.