Does anyone have a solution to this?
Page 1 / 1
sorry there is not enough context here to debug your problem. Here is how to place good support requests

there is an attachment icon on these windows
FME Workspace file: test.zip, we created a published parameter named “测试”.
#include <isession.h>
#include <iworkspacerunner.h>
int main()
{
IFMESession* session;
FME_MsgNum err = FME_createSession(session);
if (err)
{
return 0;
}
err = session->init(NULL);
IFMEWorkspaceRunner* runner = session->createWorkspaceRunner();
IFMEStringArray* array = session->createStringArray();
IFMEString* str = session->createString();
*str = "test.fmw";
runner->getPublishedParamNames(*str, *array);
for (size_t i = 0; i < array->entries(); i++)
{
std::string item = (*array)(i);
printf("%s\n", item.c_str());
}
session->destroyString(str);
session->destroyStringArray(array);
}
After resolving the workspace file, the parameter’s name will be “????”.
It’s probably worth also opening up a support case with Safe and linking this thread
yeap thats what I suggested in first response