As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
This has been escalated to engineering and will get back to you once I have more information.
Thanks, Pranav Kinvey Support MLIBZ-1657
P
Pranav J
said
over 6 years ago
Chris,
What version of the SDK are you using? Also can you share the definition of the Status class?
Thanks, Pranav
Kinvey
C
Chris D
said
over 6 years ago
Hi Pranav,
I'm using version 3.3.6.
Here is my Status class:
import Kinvey
import ObjectMapper
class Status: Entity {
dynamic var user: String?
dynamic var video1MetaData: String?
dynamic var report: String?
override class func collectionName() -> String {
//return the name of the backend collection corresponding to this entity
return "Status"
}
//Map properties in your backend collection to the members of this entity
override func propertyMapping(_ map: Map) {
//This maps the "_id", "_kmd" and "_acl" properties
super.propertyMapping(map)
//Each property in your entity should be mapped using the following scheme:
//<member variable> <- ("<backend property>", map["<backend property>"])
user <- ("user", map["user"])
video1MetaData <- ("video1MetaData", map["video1MetaData"])
report <- ("report", map["report"])
}
}
P
Pranav J
said
over 6 years ago
Answer
Chris,
Please use the following: "acl.creator == %@"
The acl property is mapped to the key "acl" on the client, not "_acl".
Chris D
I'm trying to get the collection data of the current logged in user via the following query:
However, when executing, the app crashes with the following error:
Terminating app due to uncaught exception 'Invalid property name', reason: 'Property '_acl' not found in object of type 'Status''
How would I create a Query to check the ACL value is the currently logged in user?
Thanks!
Please use the following:
"acl.creator == %@"
The acl property is mapped to the key "acl" on the client, not "_acl".
Thanks,
Pranav
Kinvey
- Oldest First
- Popular
- Newest First
Sorted by PopularChris D
That worked! Thank you!
Pranav J
This has been escalated to engineering and will get back to you once I have more information.
Thanks,
Pranav
Kinvey Support
MLIBZ-1657
Pranav J
What version of the SDK are you using? Also can you share the definition of the Status class?
Thanks,
Pranav
Kinvey
Chris D
Hi Pranav,
I'm using version 3.3.6.
Here is my Status class:
Pranav J
Please use the following:
"acl.creator == %@"
The acl property is mapped to the key "acl" on the client, not "_acl".
Thanks,
Pranav
Kinvey
-
Why do I get "Undefined symbols" errors when building with KinveyKit?
-
How do I register push tokens?
-
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
-
How can I assign additional properties to users?
-
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
-
Authorization Token Invalid or Expired
-
BOOL and how it is stored in the database.
-
Offline saving throwing errors
-
Custom endpoint not able to form request object
-
Security through business logic
See all 437 topics