Free Support Forum - groupdocs.com

Modify view example


#1

I am trying to modify the Spring sample viewer, but when displaying the changes, they are not displayed in the browser. How could I do it?


#2

@aytoses,

Would you please share with us the details of the changes you have made in the GroupDocs.Viewer for Java Spring application? Also, please share with us the source code of the modified application in the running state (without compilation errors).


#3

I’m trying to remove gd-logo. I have modified viewer-app-component.html commenting on it. I am deploy the application as war.

Url: http://localhost:8080/visorDocumentos/viewer

Thank you.

Code: https://www.dropbox.com/sh/48zngyem7vazbw0/AADEnpHxASLBZlwoACr38g2ta?dl=0

Captura 1 Logo.JPG (26.8 KB)


#4

@aytoses,

Thanks for sharing the required details. We are looking into it and will share the updates with you shortly.


#5

Any news about it?

Thanks


#6

@aytoses,

In order to preserve your changes in the application, we recommend disabling the build process by commenting out the following blocks in pom.xml file

<execution>
	<id>gulp build</id>
	<goals>
		<goal>gulp</goal>
	</goals>
	<configuration>
		<arguments>build</arguments>
	</configuration>
</execution>
<execution>
	<id>gulp copy</id>
	<goals>
		<goal>gulp</goal>
	</goals>
	<configuration>
		<arguments>copy</arguments>
	</configuration>
</execution>

Once done, apply your changes to files located in src/main/resources/static folder, run the development server with ng serve and finally build Viewer using ng build --vendor-chunk=false command. Hope it helps.