Open Sandy-Galbraith opened 1 month ago
Hi @Sandy-Galbraith The 'keywords' field is currently GET only & not included in Patch.
I will convert this ticket to a feature request for the team to review further.
Hi Ash,
Thanks for the swift reply. Would the webhook, if active be able to remove keywords?
I’m on our test server which doesn’t have webhooks currently.
If not, we may be able to control it with archiving. So, I’ll be able to update later after more testing.
Thanks, Sandy
From: Ash @.> Sent: Tuesday, June 4, 2024 10:59 AM To: reapit/foundations @.> Cc: Sandy Kirchnerwilson @.>; Mention @.> Subject: Re: [reapit/foundations] Property update doesn't remove keywords? (Issue #11186)
Hi @Sandy-Galbraithhttps://github.com/Sandy-Galbraith The 'keywords' field is currently GET only & not included in Patch.
I can convert this ticket to a feature request for the team to review if you have a business case to update these via the API?
— Reply to this email directly, view it on GitHubhttps://github.com/reapit/foundations/issues/11186#issuecomment-2147120260, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BA5DFVCF4GH72MSOCJMFMYDZFWFTLAVCNFSM6AAAAABIYERIAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGEZDAMRWGA. You are receiving this because you were mentioned.Message ID: @.**@.>> [CAUTION] External Email. This email was sent from outside of Galbraith. DO NOT Click on links or attachments unless you recognise the sender and know the content is safe.
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.
This issue has been updated and moved to our ‘Near Term’ column (typically completed within 0 - 4 months). We have assessed the effort required and outlined a technical specification - please take the time to review this detail. When we're ready to schedule the issue, it will be assigned to the relevant board where you can continue to track its progress to completion. For more information on our processes, please click here
I've been working on a new page for our website using Reapit keywords to tag specifiic properties however, the property update call doen't seem to remove keywords, only add them. which means I can't clear the page after the words are removed.
Is this a bug?
we have it set up like this in Umbraco with our test keywords -C1, -C2, -C3:![image](https://github.com/reapit/foundations/assets/138031828/07d7270f-32fb-4826-aac3-55db18d64fd4)
Specification
Project: Reapit.Services.Departments
Add new
string keywordOptions[]
which exposes the list of available keywords from the department(s) as follows:Project: Reapit.Services.Properties
Add
string[] keywords
toCreatePropertyModel
andUpdatePropertyModel
- make sure that the commentary notes that the available options can be found in the Departments APIFor updates, empty array should clear the field or full array containing all elements should be provided, null should be ignored.
Validation for both write operations should ensure that there are no duplicate values in the field and that the supplied fields are valid options for the department the property is attached to. Error message to read something along the lines of:
One or more of the supplied values is invalid
(probably already in the validationmessages class)