I am trying to build a portal to request Appian user account creation. From the interface I invoke an integration which in turn calls the webapi to trigger the process model to actually create Appian User. Individually each piece works fine from designer view. From the published portal however I am facing issue with the connected system. I created a service account and have mapped the API-Key in the CS.
Further I tried skipping the CS and instead use Basic Auth with a system admin credentials but that throws an error that parameters aren't being passed.
Any help on what am I missing here?
Thanks,
Deepti
Discussion posts and replies are publicly visible
Got it working. I had missed the CS import. Thank you for pointing that out.
Hey, If you don't mind, could you please let me know from where you got the customization file?
What if we can use the first approach which alax suggested?
What do you mean?
Storing credentials in plain text is always a bad idea. Do you use a Community Edition? If yes, give it a try.
Yes, I am using CE. do we have to update the portal for this? I removed the CS and used the API key directly into Integration Header
Stefan, I have 1 more query. That is regarding the Record relationship, not for Portal.We have 2 tables and for those, the primary keys are auto-generated values. But here, for a record in the first table, we have a record in the second table as well and we have processID in both the tables as common. Now i am trying to create a relationship between these 2 records but I am not getting the option to get the data based on process id. Any idea what shall i do in this case?
Record relationships can only be defined on unique fields.
I would not use the processID as a common or unique value, as this will be reused.
Why not just store the primary ID of the first table into the second?
i did that. but in one to one relationship i am not get option to make it a common field.
You did what exactly?
After modifying the DB, you need to adjust the record data model as well.
If you are using community edition then Can you update if your portal is able to call the integration object?
can you please update if you tried that out.
On Portal:Stefan, I am not getting the document upload in the portal into Appian Environment. i used a!submitUploadedFiles() as well
a!buttonWidget(label: "Submit",submit:true(),saveInto: {/*a!verifyRecaptcha(),*/rule!PA_InsertDataIntoDB(userInfo: local!userInfo,onSuccess: {a!submitUploadedFiles()})})
In Record Relationship:
in the documentation, they mentioned, only unique keys will be visible for a one-to-one relationships. but in my second table, the primary key of the first table is not of unique constraints. how can I get the field in common fields
Would you please stop adding more and more problems to this discussion!
Then make it a one-to-many.