ContributionsMost RecentMost LikesSolutionsnot able to get the third party libs in customsnap Snappack Hi Team, i am creating custom snap by using some third party libs so those libs i have imported as shown below. step 1: added jar files in lib folder which is located in project root directory. step2: added dependency as sown in below. <library.path>${project.basedir}/lib</library.path> in properties section <dependency> <groupId>com.polarion</groupId> <artifactId>commons-logging-1.0.4</artifactId> <version>1.0</version> <scope>system</scope> <systemPath>${library.path}/commons-logging-1.0.4.jar</systemPath> </dependency> in depedencies section but these jar files are not able access while executing the snap after deploying into snaplogic.those jar files and lib folder not able to see in my snappack pacakge zip can anyone have any idea ? Re: Unable to load account definition sure will post svatada . anyway thanks for your response and guidance. Re: Unable to load account definition Thanks.now it's working fine.Related to account issue. Re: Unable to load account definition Hi svatada, Yes I am doing same thing but facing issue. and one more thing is even if I modified the code and deploying new code. The code is change but the output is showing only previous output. I am not able to find the issue. is it issue with snaplex? Because different snaplexes showing different error based on previous output errors. Could you please help me on this ? Unable to load account definition Hi Team, I developing custom snap. I am using account type is custom. so now i am written my logic and deployed to snapLogic now i am getting error like below. "Unable to load account definition, Reason: Account named "snap" does not exist, Resolution: Update the account for this snap". Please help in this if anyone knows the solution. SolvedTeamcenter connection issue Hi Team, I am trying to use Teamcenter snapack, while connecting with Teamcenter i am getting below error, could you please help me on this. i am imported all jar files in this path (C:\Opt\snaplogic\teamcenter_lib)in my groundplex. but still getting error like this . Please help me in this if anyone having solution for this. Thanks in advance. Re: Not Updating Custom snap Hi bojan_manchev, Thanks for your answer. Yes I am doing same thing but it's updating some times only with which I have updated and deployed. Re: Facing issue while developing custom snap Hi ddellsperger, Thank you for response. after changing build number also still i am getting same old deployment logic only and also some time not giving the output. package com.snaplogic.snaps.train; import com.google.inject.Inject; import com.snaplogic.api.ConfigurationException; import com.snaplogic.api.ExecutionException; import com.snaplogic.api.Snap; import com.snaplogic.common.properties.Suggestions; import com.snaplogic.common.properties.builders.PropertyBuilder; import com.snaplogic.common.properties.builders.SuggestionBuilder; import com.snaplogic.snap.api.DocumentUtility; import com.snaplogic.snap.api.OutputViews; import com.snaplogic.snap.api.PropertyCategory; import com.snaplogic.snap.api.PropertyValues; import com.snaplogic.snap.api.SnapCategory; import com.snaplogic.snap.api.capabilities.Category; import com.snaplogic.snap.api.capabilities.Errors; import com.snaplogic.snap.api.capabilities.General; import com.snaplogic.snap.api.capabilities.Inputs; import com.snaplogic.snap.api.capabilities.Outputs; import com.snaplogic.snap.api.capabilities.Version; import com.snaplogic.snap.api.capabilities.ViewType; import java.util.LinkedHashMap; import java.util.Map; /** * This Snap has one output and writes one document that contains the suggested * value. * * <p>This snap demonstrates the suggest value functionality that uses the * partial configuration information to suggest a property value.</p> */ @Version(snap = 1) @General(title = "Test", purpose = "Demo functionality.", author = "Your Company Name", docLink = "http://yourdocslinkhere.com") @Inputs(min = 0, max = 1, accepts = {ViewType.DOCUMENT}) @Outputs(min = 1, max = 1, offers = {ViewType.DOCUMENT}) @Errors(min = 1, max = 1, offers = {ViewType.DOCUMENT}) @Category(snap = SnapCategory.READ) public class Suggest implements Snap { public static final String PROP_ECHO = "echo"; public static String api = "https://sometest-ex.test.com/export/"; public static String ExpItem = "EZX_Snap_Export_Item"; public static String ExpItemLMD = "EZX_Snap_Export_Item_LMD"; public static String ExpItemLCD = "EZX_Snap_Export_LCD"; public String end = ""; private String valueToWrite; @Inject private DocumentUtility documentUtility; @Inject private OutputViews outputViews; @Override public void defineProperties(final PropertyBuilder propertyBuilder) { propertyBuilder.describe(PROP_ECHO, PROP_ECHO) .withSuggestions(new Suggestions() { @Override public void suggest(SuggestionBuilder suggestionBuilder, PropertyValues propertyValues) { suggestionBuilder.node(PROP_ECHO).suggestions("Export Item", "Export Item_LMD", "Export Item_LCD"); } }).add(); } @Override public void configure(final PropertyValues propertyValues) throws ConfigurationException { valueToWrite = propertyValues.get(PROP_ECHO); } @Override public void execute() throws ExecutionException { switch (valueToWrite) { case "Export Item": api += ExpItem; break; case "Export Item_LMD": api += ExpItemLMD; break; case "Export Item_LCD": api += ExpItemLCD; break; default: // No op } Map<String, String> data = new LinkedHashMap<String, String>() {{ put("key", api); }}; outputViews.write(documentUtility.newDocument(data)); } @Override public void cleanup() throws ExecutionException { // NOOP } } This is my code. Facing issue while developing custom snap Hi Team, I need small help related to custom snap. I started creating custom snap as per my requirement.i have created project and written a code for snap and deployed successfully. After that I have modified and added new functionality to that snap and again re-deployed. After all these I am getting some issues. Those are 1.some times suggestions in snap not showing.its showing like loading suggestions that's it not showing anything. 2.some times preview not showing after validation. 3.some times preview showing based on last deployment code not based on latest deployment code. Could you please help on these issues. Not Updating Custom snap Hi Team, I have created custom snap and deployed successfully. Now i have changed code for that snap again deployed. but still its showing previous code only. if any one have solution for this please help me.