Comments (6)
Apologies. I had meant to refer to the page-id specifically. Not the slug.
I'm linking to an appsmith page like this in a separate react app.
https://localhost/app/application-name/some-page-{changing page id}
The trouble is appsmith isn't keeping the page id the same anytime we have a new instance of appsmith.
from appsmith.
On 1 - I meant that if you only need to embed the prod URL, you can directly hyperlink the complete URL, either it be random or "slugified". Slugs become more useful when you need to dynamically embed a URL.
For example, if you want to show a prod or stage app based on the user who logged in, you can embed the URL like [Domain]/slug
and the domain will dynamically be replaced at runtime based on the user. Since slug remains the same, embedding becomes much easier.
from appsmith.
Okay, got it @finchett. I think I have a fair idea of the use case, I'll reach back if we need more info on this.
from appsmith.
Thanks for raising this. Some use cases where this would be a big help.
- Embedding an Appsmith application. (Our use case)
We want to embed appsmith in another web application but it's difficult to deploy because every instance of the appsmith application has different page URLs.
- linking to a page more generally
There are plenty of reasons to link to page. Tying those links to a particular instance of appsmith will make it harder to keep those links valid across time.
Is there an existing issue for this?
- I have searched the existing issues
I think this has actually been raised before. And it might actually the intended behavior already? #29793 from last year gives me that impression.
from appsmith.
@finchett - Thanks for the details, I have a couple of follow-ups.
-
For embedding - when you are embedding the Appsmith app in another instance, do you have a use case to embed the staging and prod apps (or) just the prod app? Asking because if it's just the prod app, the URL slugs shouldn't matter.
-
For linking page more generally - Is your use case that you want to hyperlink the pages based on the slug? Like
[domain]/page-name-page-id
?
from appsmith.
Thanks @infinitetrooper
-
Strictly speaking we'd only need to embed the prod app though it is certainly nice to be able to do both. Though could you elaborate a little? Do you mean to say the slugs can be omitted in production?
-
I'm not fussed about how to urls are structured so much (though it would be nice to be able to omit the id entirely and have cleaner urls). It'd be useful to have a static link to an appsmith page which isn't tied to one instance.
from appsmith.
Related Issues (20)
- [Bug]: file upload to s3 via REST API results in corrupted file HOT 1
- feat: set application max width
- [Bug]: Cross referencing - On triggering a workflow from a feature branch, an error is seen
- [Bug]: Action execution should only trigger after all entities are saved
- [Bug]: appsmith backup fails while taking backup
- [Feature]: Authentication method SAML and/or OIDC optional for business model HOT 1
- [Bug]: Cross referencing: On deleting a branch, and bringing it back in, lot of uncommitted changes show up HOT 1
- [Bug]: Canvas glitches when a modal widget is triggered from the entity explorer
- [Bug]: Canvas auto-scroll is not smooth
- [Bug]: Delay in loading modal widget name component when launched from the omnibar
- [Bug]: Cross referencing: Unable to see Response and Schema tabs in the shared app. HOT 1
- [Bug]: Before a git connected app completes loading, if we traverse to home page, we see an error toast 'Not Found'
- [Feature]: duckdb support
- Working on Flaky/Failure RBAC test - GroupRoles
- Working on Flaky/Failure RBAC test -CreatePermission HOT 1
- [Bug]: Cross referencing - on git importing an application, a first change to be committed is seen on master though no change was done
- [Bug]: Merging a branch has no affect on Rest APIs
- Context is not retained while changing app settings
- second
- [Bug]: UUID function not working as expected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appsmith.