pass value via intent

Discussions about creating CAPI applications to run on Android devices
Post Reply
amari
Posts: 36
Joined: February 24th, 2024, 11:29 am

pass value via intent

Post by amari »

I am passing Start Mode param via intent and I need to start app in Modify mode
when I pass caseId along StartMode as "intent.putExtra("StartMode","Modify;"+caseId);"
but this is not recognizing when I try to specify caseId using "Key" cspro app is loading but "case Could not found" error appears
can someone guide me with correct code segment to achieve my goal.
amari
Posts: 36
Joined: February 24th, 2024, 11:29 am

Re: pass value via intent

Post by amari »

Hi..
If someone kindly could guide me to resolve this issue, Its a great help as I stuck at this point
I am opening a specific case in modify mode via android app (using intent)
Gregory Martin
Posts: 1946
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: pass value via intent

Post by Gregory Martin »

Are you still stuck on this? If so, are you saying that this doesn't work?

Code: Select all

intent.putExtra("Key", "your case key");
We added the ability to run CSEntry from other applications years ago and don't use it ourselves, so it doesn't get much testing. If this is still a problem, I can try to see what might be causing it.
jjminnaar
Posts: 1
Joined: June 25th, 2025, 5:20 am

Re: pass value via intent

Post by jjminnaar »

Good day

Also stuck on a similar situation when attempting to modify existing case.

Tried both StartMode=Modfy;+caseid and intent.putExtra("Key", "your case key");
It seems the key is only passed as input(entry).

"Case could not be found"

Please advise
savy
Posts: 201
Joined: December 27th, 2012, 1:36 pm

Re: pass value via intent

Post by savy »

The behavior was modified a while back to use the case position. You need to add these two to modify the case that is in position #1

Code: Select all

intent.putExtra("StartMode", "Modify")
intent.putExtra("StartCasePosition", 1)
Post Reply