Lettering EMB with no text

More
3 months 4 weeks ago #2047 by MikeW
I have several EMB templates with lettering objects and a graphic. Sometimes my customer only wants the graphic. When I use the editDesign API and send "" (empty string), I get a successful response but the returned machine file has the original text from the template. If I send " " (1 space), I get "The underlying connection was closed: An unexpected error occurred on a receive."

How can I use editDesign and specify that the lettering object should be empty?

Thanks.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #2063 by Karla
Replied by Karla on topic Lettering EMB with no text
Hi MikeW,

What is the expected return we are trying to achieve? If the parameter lettering is empty, the response is also empty.

May I know the request xml you are using and maybe get the filecontents of the file amd save into a text file and attached here. This is for me to test further.

Thanks,
Karla

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #2076 by MikeW
Replied by MikeW on topic Lettering EMB with no text
I've attached a sample XML request. We replace "Sample Text" with the customer name. Sometimes, the customer does not want their name, they only want the pumpkin.

What I would like to do is send something like this:
<lettering_object index="0">
<thread color="3381759" />
<simple_lettering text="" alphabet_name="Block2" height="31.75" />
</lettering_object>

and get back the machine file that only contains the pumpkin.

This attachment is hidden for guests.
Please log in or register to see it.

This message has an attachment file.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #2083 by Karla
Replied by Karla on topic Lettering EMB with no text
Hi MikeW,

Apologies for the late response.

I understand what you mean now.

I did some testing and even use a different API method and it is currently not possible in EWA1.4.
This scenario has not been considered for EWA1.4. However I will raise an issue to support this because it can work in EWA1.3.

Please try using EWA1.3.

• Empty string means no change:
Like <simple_lettering text="" alphabet_name="CARLA" height="23.65" />

• 1 space means remove the lettering object.
Like <simple_lettering text=" " alphabet_name="CARLA" height="23.65" />
But it causes crash sometimes.

Thanks,
Karla
The following user(s) said Thank You: MikeW

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #2089 by MikeW
Replied by MikeW on topic Lettering EMB with no text
Thanks. I tried with EWA1.3, same request sent 25 times. 20 worked great, the response had only the pumpkin graphic, 5 failed with the crash (reported as "The underlying connection was closed"). I can work with that.

Please add my vote to support this in EWA1.4.

I am satisfied with this resolution. Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.167 seconds